I had an emergency  need for 400gb of storage yesterday and I spent 8 hours 
looking for a way to get iSCSI working via a qlogic QLA4010 TOE card and was 
unable to get my windows Qlogic 4050 cTOE card to recognize the target.  I do 
have a Netapp iSCSI connection on the client
cat /etc/release
                       Solaris 10 8/07 s10s_u4wos_12b SPARC
           Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 16 August 2007
showrev -p | grep 119090
Patch: 119090-24 Obsoletes: 121980-03, 123500-02 Requires: 118833-36 
Incompatibles:  Packages: SUNWiscsir, SUNWiscsiu
Patch: 119090-25 Obsoletes: 121980-03, 123500-02 Requires: 118833-36 
Incompatibles:  Packages: SUNWiscsir, SUNWiscsiu

Puplic IP 172.20.8.240
iSCSI vlan 172.20.164.116 - Solaris initiator
                 172.20.164.100 - Windows client

This seemed to the most popular configuration theme - I tried a bunch - no 
security at this point.
( from http://blogs.sun.com/mhuff/entry/introduction_to_iscsi_in_solaris and 
http://probably.co.uk/howto-set-up-iscsi-targets-on-solaris.html)

r...@v880 # svcs -a | grep -i iscsi
online         14:59:09 svc:/network/iscsi_initiator:default
online         15:00:58 svc:/system/iscsitgt:default

zfs create tray4/iscsi_luns 
zfs create -V 40G tray4/iscsi_luns/vol001
scsitadm modify admin -d /etc/iscsitgt
zfs set shareiscsi=on tray4/iscsi_luns/vol001
iscsitadm list target -v
Target: tray4/iscsi_luns/vol001
    iSCSI Name: iqn.1986-03.com.sun:02:3589e629-e855-e917-dafc-85f9b45d1094
    Alias: tray4/iscsi_luns/vol001
    Connections: 0
    ACL list:
    TPGT list:
    LUN information:
        LUN: 0
            GUID: 0x0
            VID: SUN
            PID: SOLARIS
            Type: disk
            Size:   40G
            Backing store: /dev/zvol/rdsk/tray4/iscsi_luns/vol001
            Status: online
iscsitadm list target
Target: tray4/iscsi_luns/vol001
    iSCSI Name: iqn.1986-03.com.sun:02:3589e629-e855-e917-dafc-85f9b45d1094
    Connections: 0
iscsiadm add discovery-address 172.20.264.100:3260 (This is where I have some 
confusion - should this be my server or client ip)
iscsiadm modify discovery -t enable

iscsitadm create tpgt 1
iscsitadm modify tpgt -i 172.20.164.116 1 - again are we looking for server or 
client ip
iscsitadm modify target -p 1 tray4/iscsi_luns/vol001
iscsitadm list target -v
Target: tray4/iscsi_luns/vol001
    iSCSI Name: iqn.1986-03.com.sun:02:3589e629-e855-e917-dafc-85f9b45d1094
    Alias: tray4/iscsi_luns/vol001
    Connections: 0
    ACL list:
    TPGT list:
        TPGT: 1
    LUN information:
        LUN: 0
            GUID: 0x0
            VID: SUN
            PID: SOLARIS
            Type: disk
            Size:   40G
            Backing store: /dev/zvol/rdsk/tray4/iscsi_luns/vol001
            Status: online
iscsiadm list initiator-node
Initiator node name: iqn.1986-03.com.sun:01:0003ba08d5ae.47571faa
Initiator node alias: -
        Login Parameters (Default/Configured):
                Header Digest: NONE/-
                Data Digest: NONE/-
        Authentication Type: NONE
        RADIUS Server: NONE
        RADIUS access: unknown
        Configured Sessions: 1
iscsiadm list target
Target: iqn.1986-03.com.sun:01:0003ba08d5ae.47571faa
        Alias: -
        ISID: 4000002a0000
        Connections: 0
Target: iqn.2000-04.com.qlogic:qla4050c.gs10731a42094.1
        Alias: -
        ISID: 4000002a0000
        Connections: 0

Any ideas as to why I can not get this iSCSI lun to map on a client?

Thanks
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to