Hi,
I am not getiting lun id information on VIO Server. I have used the command fget_config command.
just showing # prompt.
I would like know wheather any other command is there equiv of fget_config
which will display lun id?
Hi,
I am not getiting lun id information on VIO Server. I have used the command fget_config command.
just showing # prompt.
I would like know wheather any other command is there equiv of fget_config
which will display lun id?
lscfg -vpl hdiskx
It all depends on the type of storage you are using as that will determine how to get the info. Fget_config is for DS4K storage.
be careful in oem_setup_env on VIO server!
oem_setup_env
Then (where an lspv showed I had10 LUNs/Disks)
# for i in 0 1 2 3 4 5 6 7 8 9
do
echo hdisk$i ; lsattr -El hdisk$i| grep -i unique_id
done
unique ID is traceable right back to Storage.
For Hitachi DASD, the LUN ID can be obtained like this:
lscfg -vpl hdisk15 | grep "Device Specific.(Z1)" | cut -c37-40
The LUN port the disk is assigned through can be obtained like this:
lscfg -vpl hdisk15 | grep "Device Specific.(Z1)" | cut -c42-43