I have some iSCSI targets mounted on a linux host as /dev/sd*. How can I query the iSCSI ID from the device node?
This is on CentOS 5, using the iscsi-initiator-utils package.
|
feedback
|
|
If you look into
you should see links to your devices | |||||
|
feedback
|
That will produce lots of extraneous output. You care about the Target line that comes before the Attached scsi disk line for the device in question. | |||
|
feedback
|
|
I'm pretty sure you can get the ID by issuing | |||
feedback
|
|
Does | |||
feedback
|