Originally posted by: jvk
all info is in the ODM. Cu* files...
If you run 'snap -g' and move to the /tmp/ibmsupt/general dir and run 'grep -p hdisk50 Cu*' there, you'll get a lot of info.
..and then you can write a script to display for each hdisk something like this (format of output is broken in this forum):
hdisk# path status fscsi ww_name ,LUN_id scsi_id node_name
hdisk50 path0 1 fscsi0 50060e8005465720,19000000000000 0xe38300 0x50060e8005465720
hdisk50 path1 1 fscsi0 50060e8005465730,19000000000000 0xe39400 0x50060e8005465730
hdisk50 path2 1 fscsi1 50060e8005465724,19000000000000 0xe38300 0x50060e8005465724
hdisk50 path3 1 fscsi1 50060e8005465734,19000000000000 0xe39400 0x50060e8005465734
where ww_name is from storage port
scsi_id is a Remote N_Port id of switch port where storage port is connected to
ww_name of fscsi device is seen with the 'lscfg -vl fcs1 | grep Network' command
scsi_id of fscsi device is seen with the 'lsattr -El fscsi1 | grep scsi_id'
Above is for MPIO. For some traditional multipahting SW (SDD, PowerPath etc.) I believe that such a SW itself contains cmds to get similar info.
#AIX-Forum