El 29/04/2008, a las 18:23, Mike Christie escribió:

>> The problem appears to be related to udevd-event? The system is
>> running CentOS 5.1, with kernel 2.6.18-53.1.14.el5PAE, and "iscsi-
>> initiator-utils-6.2.0.865-0.8.el5".
>
> The target does not like our nops. If you set
>
> node.conn[0].timeo.noop_out_interval = 0
> node.conn[0].timeo.noop_out_timeout = 0
>
> It should fix that problem, but if you could check the target logs for
> something about a bad PDU or iSCSI protocol error or anything, we can
> see why this is causing problems.

Dear Mike,

I get the same error changing those values at /etc/iscsi/iscsi.conf  
file and with "iscsiadm":

> # tail -f -n0 -q /var/log/* 2> /dev/null
> Apr 29 19:28:12 vz-09 iscsid: iSCSI logger with pid=3450 started!
> Apr 29 19:28:12 vz-09 kernel: scsi2 : iSCSI Initiator over TCP/IP
> Apr 29 19:28:12 vz-09 kernel:   Vendor: IFT       Model: A16E- 
> G2130-4      Rev: 361F
> Apr 29 19:28:12 vz-09 kernel:   Type:   Direct- 
> Access                      ANSI SCSI revision: 04
> Apr 29 19:28:12 vz-09 kernel: SCSI device sdb: 629145600 512-byte  
> hdwr sectors (322123 MB)
> Apr 29 19:28:12 vz-09 kernel: sdb: Write Protect is off
> Apr 29 19:28:12 vz-09 kernel: SCSI device sdb: drive cache: write back
> Apr 29 19:28:12 vz-09 kernel: SCSI device sdb: 629145600 512-byte  
> hdwr sectors (322123 MB)
> Apr 29 19:28:12 vz-09 kernel: sdb: Write Protect is off
> Apr 29 19:28:12 vz-09 kernel: SCSI device sdb: drive cache: write back
> Apr 29 19:28:13 vz-09 iscsid: transport class version 2.0-724.  
> iscsid version 2.0-865
> Apr 29 19:28:13 vz-09 iscsid: iSCSI daemon with pid=3451 started!
> Apr 29 19:28:13 vz-09 iscsid: Could not read data from db. Using  
> default and currently negotiated values
> Apr 29 19:28:13 vz-09 iscsid: connection2:0 is operational now
> Apr 29 19:28:16 vz-09 udevd-event[3470]: wait_for_sysfs: waiting  
> for '/sys/devices/platform/host2/session2/target2:0:0/2:0:0:0/ 
> ioerr_cnt' failed
> Apr 29 19:28:16 vz-09 iscsid: connection1:0 is operational after  
> recovery (2 attempts)
> Apr 29 19:29:02 vz-09 kernel:  sdb:<6> connection2:0: iscsi:  
> detected conn error (1011)
> Apr 29 19:29:03 vz-09 iscsid: Kernel reported iSCSI connection 2:0  
> error (1011) state (3)
> Apr 29 19:29:06 vz-09 kernel: iscsi: host reset succeeded
> Apr 29 19:29:06 vz-09 iscsid: connection2:0 is operational after  
> recovery (2 attempts)


(..)

>>
>
> What are the settings for the PingTimeout, ActiveTimeout and  
> IdleTimeout
> in /etc/iscsi.conf in the 4.6 installation?


PingTimeout = default
ActiveTimeout = default
IdleTimeout = default

Not changed, we're using default values..

This's the output of the iSCSI config:

# iscsiadm -m node --targetname iqn. 
2002-10.com.infortrend:raid.sn7511631.00
node.name = iqn.2002-10.com.infortrend:raid.sn7511631.00
node.tpgt = 1
node.startup = automatic
iface.hwaddress = default
iface.iscsi_ifacename = default
iface.net_ifacename = default
iface.transport_name = tcp
node.discovery_address = 10.15.17.130
node.discovery_port = 3260
node.discovery_type = send_targets
node.session.initial_cmdsn = 0
node.session.initial_login_retry_max = 4
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.auth.authmethod = None
node.session.auth.username = <empty>
node.session.auth.password = <empty>
node.session.auth.username_in = <empty>
node.session.auth.password_in = <empty>
node.session.timeo.replacement_timeout = 120
node.session.err_timeo.abort_timeout = 10
node.session.err_timeo.reset_timeout = 30
node.session.iscsi.FastAbort = No
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.session.iscsi.DefaultTime2Retain = 0
node.session.iscsi.DefaultTime2Wait = 2
node.session.iscsi.MaxConnections = 1
node.session.iscsi.MaxOutstandingR2T = 1
node.session.iscsi.ERL = 0
node.conn[0].address = 10.15.17.130
node.conn[0].port = 3260
node.conn[0].startup = manual
node.conn[0].tcp.window_size = 524288
node.conn[0].tcp.type_of_service = 0
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.auth_timeout = 45
node.conn[0].timeo.active_timeout = 5
node.conn[0].timeo.idle_timeout = 60
node.conn[0].timeo.ping_timeout = 5
node.conn[0].timeo.noop_out_interval = 0
node.conn[0].timeo.noop_out_timeout = 0
node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
node.conn[0].iscsi.HeaderDigest = None,CRC32C
node.conn[0].iscsi.IFMarker = No
node.conn[0].iscsi.OFMarker = No

Regards!!

--
Santi Saez
Hostalia Internet S.L.U.
http://www.hostalia.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to