I am trying to set up a purely virtual dm-multipath demo environment
with Open-iSCSI and tgtd. tgtd is running on a Fedora 17 host, on which
I have also created two Open vSwitch bridges to serve as storage
networks. The guest is RHEL 6.3 (kernel-2.6.32-279.11.1.el6.x86_64 and
iscsi-initiator-utils-6.2.0.872-41.el6.x86_64).
I have been unable to get network errors recognized in a timely manner.
For example, if I run a command such as "dd if=/dev/zero of=/dev/sdb"
(where sdb is one of the paths to the iSCSI target), it takes around
130 seconds for an error to be reported (when I use an iptables rule on
the host to block traffic on the appropriate bridge).
Timeout-related entries from /etc/iscsi/iscsid.conf are:
node.session.timeo.replacement_timeout = 5
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.noop_out_interval = 5
node.conn[0].timeo.noop_out_timeout = 5
node.session.err_timeo.abort_timeout = 15
node.session.err_timeo.lu_reset_timeout = 30
node.session.err_timeo.tgt_reset_timeout = 30
The timeout values reported by "iscsiadm -m session -P 3" are:
Recovery Timeout: 120
Target Reset Timeout: 30
LUN Reset Timeout: 30
Abort Timeout: 15
(The recovery timeout jumps out at me. Shouldn't it match the
replacement_timeout from the configuration file?)
The value of /sys/block/sdb/device/timeout is 30.
Any pointers on what I should be changing (or additional information I
should gather) are appreciated.
Thanks!
--
========================================================================
Ian Pilcher
arequ...@gmail.com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================