Now I'm pretty sure there's a bug of the "raw" iscsi implementation or some 
special network requirements (Ethernet MTU over 1500 ?). I gave a try of the 
"sandbox" example on http://www.opensolaris.org/os/project/iscsitgt/getstarted/ 
and it worked fine.

[b] Target side [/b]

  # iscsitadm list target -v
  Target: zd-4565
    iSCSI Name: 
iqn.1986-03.com.sun:02:7ca4cb33-a703-6c6f-b998-f79e5b94dadd.zd-4565
    Connections: 1
        Initiator:
            iSCSI Name: iqn.1986-03.com.sun:01:000102fa8679.45fbe5b2
            Alias: vermeer.immstr.pasteur.fr
    ACL list:
    TPGT list:
    LUN information:
        LUN: 0
            GUID: 010000304829d43600002a0045fc62b4
            VID: SUN
            PID: SOLARIS
            Type: raw
            Size:  933G
            Backing store: /dev/rdsk/c0t0d0p0
            Status: online
        LUN: 1
            GUID: 010000304829d43600002a0045fc62b8
            VID: SUN
            PID: SOLARIS
            Type: raw
            Size:  933G
            Backing store: /dev/rdsk/c0t0d1p0
            Status: online
        LUN: 2
            GUID: 010000304829d43600002a0045fc62b6
            VID: SUN
            PID: SOLARIS
            Type: raw
            Size:  933G
            Backing store: /dev/rdsk/c0t0d2p0
            Status: online
  Target: sandbox
    iSCSI Name: 
iqn.1986-03.com.sun:02:a74b15a3-d0c1-6ca1-dfeb-f8cb24eeb4e5.sandbox
    Connections: 1
        Initiator:
            iSCSI Name: iqn.1986-03.com.sun:01:000102fa8679.45fbe5b2
            Alias: vermeer.immstr.pasteur.fr
    ACL list:
    TPGT list:
    LUN information:
        LUN: 0
            GUID: 010000304829d43600002a0045fc696e
            VID: SUN
            PID: SOLARIS
            Type: disk
            Size: 2.0G
            Status: online

[b] Initiator side [/b]
  
  # iscsiadm list target -S    
  Target: iqn.1986-03.com.sun:02:a74b15a3-d0c1-6ca1-dfeb-f8cb24eeb4e5.sandbox
        Alias: sandbox
        TPGT: 1
        ISID: 4000002a0000
        Connections: 1
        LUN: 0
             Vendor:  SUN     
             Product: SOLARIS         
             OS Device Name: /dev/rdsk/c3t010000304829D43600002A0045FC696Ed0s2

  Target: iqn.1986-03.com.sun:02:7ca4cb33-a703-6c6f-b998-f79e5b94dadd.zd-4565
        Alias: zd-4565
        TPGT: 1
        ISID: 4000002a0000
        Connections: 1
        LUN: 0
             Vendor:  ZD-4565U
             Product: 3               
             OS Device Name: /dev/rdsk/c2t1d0s2
        LUN: 1
             Vendor:  ZD-4565U
             Product: 3               
             OS Device Name: /dev/rdsk/c2t2d0s2
        LUN: 2
             Vendor:  ZD-4565U
             Product: 3               
             OS Device Name: /dev/rdsk/c2t3d0s2
  # format
  AVAILABLE DISK SELECTIONS:
       0. c0d0 <DEFAULT cyl 9726 alt 2 hd 255 sec 63>
          /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0
       1. c2t1d0 <DEFAULT cyl 60913 alt 2 hd 255 sec 126>
          /iscsi/[EMAIL PROTECTED],2
       2. c2t2d0 <DEFAULT cyl 60913 alt 2 hd 255 sec 126>
          /iscsi/[EMAIL PROTECTED],1
       3. c2t3d0 <DEFAULT cyl 60913 alt 2 hd 255 sec 126>
          /iscsi/[EMAIL PROTECTED],0
       4. c3t010000304829D43600002A0045FC696Ed0 <SUN-SOLARIS-1-2.00GB>
          /scsi_vhci/[EMAIL PROTECTED]
Specify disk (enter its number): ^D
  # zpool create -m /export/sandbox sandbox 
c3t010000304829D43600002A0045FC696Ed0
  # mkfile 100M /export/sandbox/foo
  # zpool list sandbox
  NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
  sandbox                1.98G     95K   1.98G     0%  ONLINE     -
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to