Tomasz Chmielewski wrote:
> Ben Greear schrieb:
>> When I create a session to a target, a /dev/sdX shows up.  Is there
>> any way to know which /dev/sdX
>> a particular target is associated with?
>>
>> Fdisk will show me a 'Disk identifier', maybe that could be set in
>> iscsi somehow?
> 
> Try:
> 
> ls -l /dev/disk/by-path/
> 
> 

Thanks, that is perfect!

Now, another related question:  Is there any way to see the
Iface used by an existing session?


Perhaps related, what does the number in brackets indicate?


[r...@lanforge-d0-20 ~]# iscsiadm -m session -S
tcp: [3] 192.168.100.180:3260,1 iqn.2009-02.com.example:for.all
tcp: [5] 192.168.100.180:3260,1 iqn2.2009-02.com.example:for.all
tcp: [7] 192.168.100.180:3260,1 iqn3.2009-02.com.example:for.all

Thanks,
Ben

-- 
Ben Greear <gree...@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to