Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When I do

localhost:~# iscsiadm -m discovery -t st -p,1,1,1

I see the available targets, but how do I see which or what target is actually connected on my CentOS5 server?


Can can of course do this, but can't a program like iscsiadm tell me it instead?

localhost:~# ls /dev/disk/by-path/  pci-0000:00:1f.2-scsi-0:0:0:0-part2@
pci-0000:00:1f.1-ide-0:0@                                                          pci-0000:00:1f.2-scsi-0:0:0:0-part3@
pci-0000:00:1f.2-scsi-0:0:0:0@                                                     pci-0000:00:1f.2-scsi-1:0:0:0@
pci-0000:00:1f.2-scsi-0:0:0:0-part1@                                               pci-0000:00:1f.2-scsi-1:0:0:0-part1@
share|improve this question
on the target (server)'s side, try cat /proc/net/iet/session – Flynn Oct 19 at 11:17

1 Answer 1

up vote 8 down vote accepted

does iscsiadm -m session tell you what you want to know? (or I think iscsiadm -m session -P 3 might give more info)

share|improve this answer
Exactly! Thanks a lot =) – Sandra Aug 21 '10 at 11:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.