Permanent iSCSI disk timeouts on DataCore SANsymphony-V 9 using udev rules
This document (7015055) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11 Service Pack 3 (SLES 11 SP3)
SUSE Linux Enterprise Server 11 Service Pack 2 (SLES 11 SP2)
SUSE Linux Enterprise Server 11 Service Pack 1 (SLES 11 SP1)
Situation
Resolution
To change the timeout use:
echo 80 > /sys/block/[disk_device]/device/timeout
Example udev rule for IBM 2145:
udev rules file cat /etc/udev/rules.d/99-ibm-2145.rules
SUBSYSTEM=="block", ACTION=="add", ENV{ID_VENDOR}=="IBM", ENV{ID_MODEL}=="2145", RUN+="/bin/sh -c 'echo 120 > /sys/block/%k/device/timeout'"
To gather information on "ID_VENDOR" and "ID_MODEL" run a :
"udevadm info --query=all --attribute-walk --name=/dev/device"
where "device" is the iSCSI disk. Returned values for DataCore are:
ATTRS{vendor}=="DataCore"
Resulting in the following udev rule:
/etc/udev/rules.d/99-datacore.rules
Cause
Additional Information
http://datacore.custhelp.com/ci/fattach/get/212933/1399653078/redirect/1/filename/Host_Configuration_Guide_Linux.pdf
Disclaimer
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:7015055
- Creation Date: 14-May-2014
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com