summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-09-24 15:13:51 -0500
committerMike Christie <michaelc@cs.wisc.edu>2008-09-24 15:13:51 -0500
commitf0a39fb71a0ea0c0c1c692ec071db0d958f03546 (patch)
tree65ff976371347a3c0c57d8487f1da294ef046d69 /etc
parentb9ef8246c44a46186b5ae921b3ab297b5f3768a3 (diff)
downloadopen-iscsi-f0a39fb71a0ea0c0c1c692ec071db0d958f03546.tar.gz
iscsi conf: increase default login max
initial_login_retry_max is too short to be useful. We are getting a lot of login problems due to the EHOSTUNREACH static ip address, so this patch increases the default initial_login_retry_max to 45.
Diffstat (limited to 'etc')
-rw-r--r--etc/iscsid.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf
index f2691ee..d91b7fc 100644
--- a/etc/iscsid.conf
+++ b/etc/iscsid.conf
@@ -109,12 +109,15 @@ node.session.err_timeo.lu_reset_timeout = 20
# To speficy the number of times iscsiadm should retry a login
# to the target when we first login, modify the following line.
-# The default is 4. Valid values are any integer value. This only
+# The default is 45. Note that after each attempt iscsid will
+# sleep 1 second.
+#
+# Valid values are any integer value. This only
# affects the initial login. Setting it to a high value can slow
# down the iscsi service startup. Setting it to a low value can
# cause a session to not get logged into, if there are distuptions
# during startup or if the network is not ready at that time.
-node.session.initial_login_retry_max = 4
+node.session.initial_login_retry_max = 45
################################
# session and device queue depth