Package: open-vm-tools
Version: 1:8.4.2-261024-1
Severity: wishlist
Hi.
VMware suggests to add a udev rules files which increases the SCSI timeout
of VMware devices, so that any failover mechanisms etc. work gracefully.
The attached version of the file is the most recent one (AFAIK) as provided
by VMware.
Of course we'd only need the Debian rules in it.
It would be nice IMHO, if it's configurable via debconf, whether the file is
installed, and which timeout should be used.
Though IMHO the default should be to install it and use 180 as suggested by
VMware.
Cheers,
Chris.
#
# VMware SCSI devices Timeout adjustment
#
# Modify the timeout value for VMware SCSI devices so that
# in the event of a failover, we don't time out.
# See Bug 271286 for more information.
#
# Note: The Udev systems vary from distro to distro. Hence all of the
# extra entries.
# Redhat systems
ACTION=="add", BUS=="scsi", SYSFS{vendor}=="VMware, " , SYSFS{model}=="VMware
Virtual S", RUN+="/bin/sh -c 'echo 180 >/sys$DEVPATH/device/timeout'"
# Debian systems
ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware " ,
ATTRS{model}=="Virtual disk ", RUN+="/bin/sh -c 'echo 180
>/sys$DEVPATH/device/timeout'"
# SuSE / Ubuntu systems
ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware, " ,
ATTRS{model}=="VMware Virtual S", RUN+="/bin/sh -c 'echo 180
>/sys$DEVPATH/device/timeout'"