I'm running a vanilla 2.6.18 kernel with openvz patched in (stab039)
and using iscsi as root.
I have iscsistart in the initrd and it boots fine, but after a brief
period of time, it disconnects from the server. (under a minute.)
Using revision 866 from berlios
When I run iscsistart for root, I get the following error:
1316:913:demo01:MgmtExec: 7-Dec-2007 18:25:24.160914:targetAttr.cc:
933:INFO:7.2.15:iSCSI session to target '10.1.13.21:3260, iqn.
2001-05.com.equallogic:0-8a0906-4c0233602-7fbfb1cde0a4759d-dl.ut1-eris-
base' from initiator '10.1.4.24:49498, iqn.1997-01.net.verio:ut1-eris'
was closed.
iSCSI initiator connection failure.
No response on connection for 6 seconds.
I've tried running iscsid and when I do, it disconnects the iscsi root
drive and tties to reconnect, but attempts to do so with CHAP turned
on. (It is not set on in the configuration on the client or equallogic
server)
These are the messages on the server:
1274:879:demo01:MgmtExec: 7-Dec-2007 18:06:16.490880:targetAttr.cc:
688:INFO:7.2.14:iSCSI login to target '10.1.13.21:3260, iqn.
2001-05.com.equallogic:0-8a0906-da3233602-1fbfb1cddf64759b-dl.ut1-eris-
base' from initiator '10.1.4.24:51567, iqn.1997-01.net.verio:ut1-eris'
successful, using Jumbo Frame length.
1275:880:demo01:MgmtExec: 7-Dec-2007 18:07:21.760881:targetAttr.cc:
933:INFO:7.2.15:iSCSI session to target '10.1.13.21:3260, iqn.
2001-05.com.equallogic:0-8a0906-da3233602-1fbfb1cddf64759b-dl.ut1-eris-
base' from initiator '10.1.4.24:51567, iqn.1997-01.net.verio:ut1-eris'
was closed.
iSCSI initiator connection failure.
Connection was closed by peer.
1276:881:demo01:MgmtExec: 7-Dec-2007 18:07:22.510882:targetAttr.cc:
498:ERROR:7.4.3:iSCSI login to target '10.1.13.21:3260, iqn.
2001-05.com.equallogic:0-8a0906-da3233602-1fbfb1cddf64759b-dl.ut1-eris-
base' from initiator '10.1.4.24:44170, iqn.1997-01.net.verio:ut1-luna'
failed for the following reason:
Initiator attempted to authenticate but volume access control
not configured for CHAP.
The sequence I use to run this is:
modprobe iscsi_tcp
iscsistart -i iqn.1997-01.net.verio:ut1-eris -t iqn.
2001-05.com.equallogic:0-8a0906-da3233602-1fbfb1cddf64759b-dl.ut1-eris-
base -g 1 -a 10.1.13.20
iscsid -f -d 9
The iscsid output follows:
iscsid: transport class version 2.0-865. iscsid version 2.0-865
iscsid: in ctldev_open
iscsid: created NETLINK_ISCSI socket...
iscsid: InitiatorName==iqn.1997-01.net.verio:ut1-luna
iscsid: InitiatorAlias==iqn.1997-01.net.verio:ut1-luna
iscsid: InitiatorName=iqn.1997-01.net.verio:ut1-luna
iscsid: InitiatorAlias=iqn.1997-01.net.verio:ut1-luna
iscsid: in read_transports
iscsid: Adding new transport tcp
iscsid: found targetname iqn.2001-05.com.equallogic:
0-8a0906-4c0233602-7fbfb1cde0a4759d-dl.ut1-eris-base address
10.1.13.21 pers address 10.1.13.20 port 3260 pers port 3260 driver tcp
iface ipaddress 10.1.4.24 netdev default hwaddress default
iscsid: sync session [1][iqn.2001-05.com.equallogic:
0-8a0906-4c0233602-7fbfb1cde0a4759d-dl.ut1-eris-base,10.1.13.20.3260]
[default]
iscsid: in read_transports
iscsid: iface_for_each_iface found iface0
iscsid: looking for iface conf /etc/iscsi/ifaces/iface0
iscsid: updated 'iface.transport_name', 'tcp' => 'tcp'
iscsid: updated 'iface.net_ifacename', 'default' => 'eth0'
iscsid: rec read looking for config file /etc/iscsi/nodes/iqn.
2001-05.com.equallogic:0-8a0906-4c0233602-7fbfb1cde0a4759d-dl.ut1-eris-
base/10.1.13.20,3260.
iscsid: rec read looking for config file /etc/iscsi/nodes/iqn.
2001-05.com.equallogic:0-8a0906-4c0233602-7fbfb1cde0a4759d-dl.ut1-eris-
base/10.1.13.20,3260,1/default.
iscsid: Could not stat /etc/iscsi/nodes/iqn.2001-05.com.equallogic:
0-8a0906-4c0233602-7fbfb1cde0a4759d-dl.ut1-eris-base/10.1.13.20,3260,1/
default err 2.
iscsid: Could not read data from db. Using default and currently
negotiated values
iscsid: updating defaults from '/etc/iscsi/iscsid.conf'
iscsid: updated
'discovery.sendtargets.iscsi.MaxRecvDataSegmentLength', '32768' =>
'262144'
iscsid: updated 'node.startup', 'manual' => 'manual'
iscsid: updated 'node.session.timeo.replacement_timeout', '120' =>
'120'
iscsid: updated 'node.conn[0].timeo.login_timeout', '15' => '15'
iscsid: updated 'node.conn[0].timeo.logout_timeout', '15' => '15'
iscsid: updated 'node.conn[0].timeo.noop_out_interval', '10' => '10'
iscsid: updated 'node.conn[0].timeo.noop_out_timeout', '15' => '15'
iscsid: updated 'node.session.iscsi.InitialR2T', 'No' => 'No'
iscsid: updated 'node.session.iscsi.ImmediateData', 'Yes' => 'Yes'
iscsid: updated 'node.session.iscsi.FirstBurstLength', '262144' =>
'262144'
iscsid: updated 'node.session.iscsi.MaxBurstLength', '16776192' =>
'16776192'
iscsid: updated 'node.conn[0].iscsi.MaxRecvDataSegmentLength',
'131072' => '262144'
iscsid: match session [iqn.2001-05.com.equallogic:
0-8a0906-4c0233602-7fbfb1cde0a4759d-dl.ut1-eris-base,10.1.13.20,3260]
[ tcp,default,10.1.4.24]
iscsid: to [iqn.2001-05.com.equallogic:
0-8a0906-4c0233602-7fbfb1cde0a4759d-