On Monday 27 December 2010 07:31 PM, Pasi Kärkkäinen wrote:
On Sun, Dec 26, 2010 at 10:14:21AM -0800, Rudy Gevaert wrote:
    Hello,

    I'm trying to use a qlogic hba to do offloading.  I don't fully understand
    anything.  I am following the readme file.  The following things aren't
    clear to me:

    1) I get an extra interface (eth1).  Should I give that interface an ip
    address?  If I don't, I can't ping the target.  What is this interface
    needed for?
    2) I set an ip address on the iface reported by iscsiadm:
    r...@isis:/usr/share/doc/open-iscsi# iscsiadm -m iface
    default tcp,<empty>,<empty>,<empty>,<empty>
    iser iser,<empty>,<empty>,<empty>,<empty>
    qla4xxx.00:c0:dd:0e:e3:ad
    qla4xxx,00:c0:dd:0e:e3:ad,192.168.201.4,<empty>,<empty>

    r...@isis:/usr/share/doc/open-iscsi# iscsiadm -m iface -I
    qla4xxx.00:c0:dd:0e:e3:ad
    # BEGIN RECORD 2.0-871
    iface.iscsi_ifacename = qla4xxx.00:c0:dd:0e:e3:ad
    iface.net_ifacename =<empty>
    iface.ipaddress = 192.168.201.4
    iface.hwaddress = 00:c0:dd:0e:e3:ad
    iface.transport_name = qla4xxx
    iface.initiatorname =<empty>
    # END RECORD

    However, then discovery doesn't work:

    r...@isis:/usr/share/doc/open-iscsi#  iscsiadm -m discovery -t st -p
    192.168.201.200:3260 -I qla4xxx.00:c0:dd:0e:e3:ad
    iscsiadm: Could not offload sendtargets to 192.168.201.200.

    iscsiadm: initiator reported error (1 - unknown error)

    I'm running 2.6.32-5-xen-amd64 (Debian Squeeze) and 2.0.871.3-2squeeze1 of
    open-iscsi..

    Any help in pointing me in the right direction is greatly appreciated.

Did you configure the qla4xxx HBA using the qlogic tools?
I don't think you can configure it using open-iscsi/iscsiadm ..

-- Pasi

ip address can be configured using bios.
--Rahul

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to