iscsid.conf timeout settings are not being honored
This document (7007358) is provided subject to the disclaimer at the end of this document.
Most iSCSI documentation indicates that the /etc/iscsid.conf should be modified to change timeout values, etc. However, this is for global settings. The "default" configuration file for each initiator is stored under /etc/iscsi/nodes/<target name>/<portal> and overrides settings in the global configuration file.
Example: MPIO iSCSI failover is taking two minutes even though the node.session.timeo.replacement_timeout parameter is set to 5 in the iscsid.conf file.
Modify the "node.session.timeo.replacement_timeout" parameter in the default config file for each initiator.
The configuration file to modify is found under /etc/iscsi/nodes/<target name>/<portal>/default
where <target name> is the "iqn" value and "portal" is the IP,port value.
Initiating a directory listing on:
nts106:~ # ll /etc/iscsi/nodes/iqn.2010-12.lab\:test1/ <-- target name
We see the following two directories:
drw------- 2 root root 4096 2010-12-10 08:39 184.108.40.206,3260,1 <-- portal
drw------- 2 root root 4096 2010-12-10 08:40 192.168.10.1,3260,1 <-- portal
The default config file for each portal is found within its respective portal directory. Notice that "node.session.timeo.replacement_timeout" is set to 120 here. Change it to a lower value....like 5 or so. Make sure to do it for all multipathed initiators/portals!
See man pages for iscsiadm for details.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7007358
- Creation Date: 10-Dec-2010
- Modified Date:05-Mar-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com