Linux – Query iSCSI ID of a device node on Linux

iscsilinux

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.

Best Answer

If you look into

 /dev/disk/by-path/

you should see links to your devices