On 03/05/2010 08:16 AM, Oriol wrote:
Hello there,

we are using Open-iscsi 2.0.871-r1 against Sun Storage Tek 2500, in a
Gentoo Linux Amd 64, but the following error appears: "detected conn
error (1011)". After checking everything, we can not find the problem.


Are you just logging in? Are you doing any IO at the time?

From the logs it looks like there is no IO for a while, so the iscsi layer sends a nop just to make sure the target is still there.

Mar  5 14:42:15 kabuki07 connection1:0: iscsi_sw_tcp_xmit xmit 48
bytes

It gets sent here.

Mar  5 14:42:30 kabuki07 connection1:0: ping timeout of 15 secs
expired, recv timeout 15, last rx 4294949516, last ping 4294953266,
now 4294957016

But then 15 secs have passed and we have not got a response or any IO for that matter. So the iscsi layer thinks the target is gone or the connection is bad, so logs the session out and logs in again.


If the target does not support nops you can turn them off by setting
node.conn[0].timeo.noop_out_timeout = 0
node.session.err_timeo.abort_timeout = 0


What is your kernel version and are you using the iscsi modules that come with that kernel or the ones from open-iscsi.org?

--
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