Use 'iscsiadm list target -S' which will give you the /dev/rdsk/ entry name.

On Feb 26, 2007, at 6:32 PM, Adam Leventhal wrote:

The iSCSI initiator gives me this information when I do a 'list target -v':

Target: iqn.1986-03.com.sun:02:e4a73e40-ae2b-4e3c-f26d-cf194954b9fe
        Alias: pool/volumes/vol
        TPGT: 1
        ISID: 4000002a0000
        Connections: 1
                CID: 0
                  IP address (Local): 192.168.1.106:64236
                  IP address (Peer): 192.168.1.171:3260
                  Discovery Method: SendTargets
                  Login Parameters (Negotiated):
                        Data Sequence In Order: yes
                        Data PDU In Order: yes
                        Default Time To Retain: 20
                        Default Time To Wait: 2
                        Error Recovery Level: 0
                        First Burst Length: 65536
                        Immediate Data: yes
                        Initial Ready To Transfer (R2T): yes
                        Max Burst Length: 262144
                        Max Outstanding R2T: 1
                        Max Receive Data Segment Length: 8192
                        Max Connections: 1
                        Header Digest: NONE
                        Data Digest: NONE

And format(1M) gives me this:

AVAILABLE DISK SELECTIONS:
       ...
8. c9t010000144F29FF4C00002A0045E38980d0 <DEFAULT cyl 1022 alt 2 hd 64 sec 32>
          /scsi_vhci/[EMAIL PROTECTED]

In the presence of many iSCSI targets how can I figure out which entry in
format's output corresponds to a particular target as emitted from the
iscsiadm(1M) command? Thanks.

Adam

--
Adam Leventhal, Solaris Kernel Development http:// blogs.sun.com/ahl
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

----
Rick McNeal

"If ignorance is bliss, this lesson would appear to be a deliberate attempt on your part to deprive me of happiness, the pursuit of which is my unalienable right according to the Declaration of Independence. I therefore assert my patriotic prerogative not to know this material. I'll be out on the playground." -- Calvin


_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to