I am very new to AIX, I found a command in AIX, lsattr, which is helpful to get the SCSI id and LUN id of a device. I can not understand how to interpret the value of SCSI id and LUN id. Here is a sample output:
bash-4.2# lsattr -El hdisk693
.......
lun_id 0x25f000000000000 Logical Unit Number ID False
scsi_id 0x21300 SCSI ID False
.......
I have skipped the lines that are not relevant.
1) The LUN id is 0x25f000000000000 which is huge, read in some blogs that we have to right shift this by 48 bits to get the actual value, where is this documented?
2) Also what about the SCSI id, even this value looks huge, 0x21300
Can someone please help me on this?
Thanks & Regards,
Arun Vijapur