Hi All,

I'm busy testing/evaluating the iSCSI target on SXCE snv_b69 and I've
come across an issue of sorts, I'm not sure if this is something I'm
doing incorrectly, or if it is a known issue with the Solaris iSCSI target.

I have created a zpool mirror consisting of 2 x 500GB disks. This zpool
is then split into 20GB z-vols with the "shareiscsi" option set to "on".

I too have 2 NIC's that have been configured in and active-active IPMP
configuration. I assign each logical address of the IPMP group to their
own target portal group, both groups are then assigned to each iscsi lun
 so that there are 2 paths to each lun.

This all appears to do what it says on the can up until I reboot the
box. After the reboot the target portal group tags have been removed
from the iscsi luns?! I have to manually assign the group tags every
time the system reboots.

Is there a way that I can make this configuration static across reboots.

Here is an example of the commands I run to achieve what I am trying to
explain:

zpool create -m legacy data01 mirror c1t2d0 c1t3d0
zfs create -V 20g -o shareiscsi=on data01/data01-000
      .
      .
      .
zfs create -V 20g -o shareiscsi=on data01/data01-009
iscsitadm create tpgt 1
iscsitadm create tpgt 2
iscsitadm modify tpgt -i 192.168.10.50 1
iscsitadm modify tpgt -i 192.168.10.51 2
iscsitadm list tpgt -v
TPGT: 2
    IP Address: 192.168.10.51
TPGT: 1
    IP Address: 192.168.10.50
iscsitadm modify target -p 1 data01/data01-000
iscsitadm modify target -p 2 data01/data01-000
iscsitadm modify target -p 1 data01/data01-001
iscsitadm modify target -p 2 data01/data01-001
      .
      .
      .
iscsitadm modify target -p 1 data01/data01-009
iscsitadm modify target -p 2 data01/data01-009

iscsitadm list target -v data01/data01-000

Target: data01/data01-000
    iSCSI Name: iqn.1986-03.com.sun:02:46348385-5e43-c798-81ef-ad4ea7526ca1
    Alias: data01/data01-000
    Connections: 0
    ACL list:
    TPGT list:
        TPGT: 1
        TPGT: 2
    LUN information:
        LUN: 0
            GUID: 0x0
            VID: SUN
            PID: SOLARIS
            Type: disk
            Size:   20G
            Backing store: /dev/zvol/rdsk/data01/data01-000
            Status: online

sync
sync
reboot

iscsitadm list target -v data01/data01-000

Target: data01/data01-000
    iSCSI Name: iqn.1986-03.com.sun:02:46348385-5e43-c798-81ef-ad4ea7526ca1
    Alias: data01/data01-000
    Connections: 0
    ACL list:
    TPGT list:
    LUN information:
        LUN: 0
            GUID: 0x0
            VID: SUN
            PID: SOLARIS
            Type: disk
            Size:   20G
            Backing store: /dev/zvol/rdsk/data01/data01-000
            Status: online

iscsitadm list tpgt -v
TPGT: 2
    IP Address: 192.168.10.51
TPGT: 1
    IP Address: 192.168.10.50

after the reboot the lun has lost it's TPGT list (1 & 2)?!

Is there something I am doing wrong here?

Thanks
Bruce

_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to