Automatically setting scsi timeout with open-vm-tools installed.
This document (7016016) is provided subject to the disclaimer at the end of this document.
Environment
VMware
Situation
Resolution
Cause
"/etc/udev/rules.d/99-vmware-scsi-udev.rules"
This rule is responsible for increasing the scsi timeout however with open-vm-tools this is not automatically done anymore and no extra udev rule file is present.
Additional Information
ACTION=="add", SUBSYSTEM=="block", ATTRS{vendor}=="VMware", RUN+="/bin/sh -c 'echo 180 >/sys/$DEVPATH/device/timeout'"
It is then needed to also recreate the initrd to include the added udev rule by running "mkinitrd".
To quickly verify the current timeout for all disks execute the following command;
find /sys/class/scsi_disk/*/device/timeout -exec grep -H . '{}' \;
As an additional side note, with SUSE Linux Enterprise Server 12 the default included rules for udev are now located in "/usr/lib//udev/rules.d/"
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:7016016
- Creation Date: 23-Dec-2014
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com