So to summarize, I posted a ridiculously long message on
the KVM list. It can be seen at:
---
http://thread.gmane.org/gmane.comp.emulators.kvm.devel/71803
The basic gist is I'm seeing errors from iSCSI via the
SCSI layer on a front-end host connecting to a DRBD cluster on
the back-end. My iscsid.conf looks like:
---
iscsid.startup = /etc/rc.d/init.d/iscsid force-start [1/183]
node.startup = automatic
node.session.timeo.replacement_timeout = -1
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.noop_out_interval = 10
node.conn[0].timeo.noop_out_timeout = 15
node.session.err_timeo.abort_timeout = 15
node.session.err_timeo.lu_reset_timeout = 30
node.session.err_timeo.tgt_reset_timeout = 30
node.session.initial_login_retry_max = 8
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.xmit_thread_priority = -20
node.session.iscsi.InitialR2T = Yes
node.session.iscsi.ImmediateData = No
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
node.conn[0].iscsi.HeaderDigest = None
node.session.iscsi.FastAbort = Yes
---
The problem I'm seeing is that any failover of tgtd on
the DRBD cluster ends up causing SCSI errors to bubble up to the
application (dd in my testing, which causes dd to stop
immediately instead of hanging like I thought it would). I
thought that:
---
node.session.timeo.replacement_timeout = -1
in particular would stop that from ever happening.
Am I misunderstanding that?
--
Mark Nipper
[email protected] (XMPP)
+1 979 575 3193
-
"On two occasions I have been asked, – 'Pray, Mr. Babbage, if you
put into the machine wrong figures, will the right answers come
out?' In one case a member of the Upper, and in the other a
member of the Lower House put this question. I am not able
rightly to apprehend the kind of confusion of ideas that could
provoke such a question."
-- Charles Babbage
--
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.