how to find out the lun number of the devices ( hdisks ) attached to open systems ( AIX ) and AS/400 from DMX ...is there any flag with inquiry utitity to get the device lun numbers ???
yaa..when i run the symdev show on both i get the same symm column value see..
Courne1/root: / > symdev show 04F3 -sid XXXX Front Director Paths (1): { ---------------------------------------------------------------------- POWERPATH DIRECTOR PORT LUN --------- ---------- ---- -------- --------- PdevName Type Type Num Sts VBUS TID SYMM Host ---------------------------------------------------------------------- Not Visible N/A FA 14A:1 RW 000 00 003 N/A }
Courne1/root: / > symdev show 04E3 -sid XXX
Front Director Paths (1): { ---------------------------------------------------------------------- POWERPATH DIRECTOR PORT LUN --------- ---------- ---- -------- --------- PdevName Type Type Num Sts VBUS TID SYMM Host ---------------------------------------------------------------------- Not Visible N/A FA 14A:1 RW 000 03 003 N/A }
i never done that lun offsetting during assigniong the devices to hosts .. do i need to add any flags while mapping devices for lun offsetting ?? can u tell me briefly how it works ?.
tried that command already but it doesn't giving the lun number
Courne1/root: /tmp/prod > ./inq.aix64_51 -sym_wwn Inquiry utility, Version V7.3-623 (Rev 0.0) (SIL Version V6.0.0.0 (Edit Level 623) Copyright (C) by EMC Corporation, all rights reserved. For help type inq -h. ............................................................................... ..... ----------------------------------------------------------------------------- Symmetrix Device Symm Serial # Device # WWN ----------------------------------------------------------------------------- /dev/rhdiskpower0 XXXXXX 0236 60060480000187431359464241323336 /dev/rhdiskpower1 XXXXXX 0237 60060480000187431359464241323337 /dev/rhdiskpower2 XXXXXX 0238 60060480000187431359464241323338 /dev/rhdiskpower3 XXXXXX 0239 60060480000187431359464241323339 /dev/rhdiskpower4 XXXXXX 023A 60060480000187431359464241323341
the symcfg with available addresss option gave me some result .. but i didn't understand one thing in my output , it showing me that lun number 000 is already used still that same number 000 is in state of AVAILABLE , what it means there can me multiple of same lun number on single FA ???
great . its working i write a small script with that awk line to get all other devices.. can u guys help to clarify that second thing about the same lumber issue , here is info about one more FA , it using same lun number ( 003 ) twice for different devices
dynamox
11 Legend
•
20419 Posts
•
87439 Points
1077
0
Posted March 10th, 2008 12:00
for AIX you could try: inq -sym_wwn