it:linux:scsi_timeout
SCSI timeout
Rausfinden welche timeout's in Secunden gerade gelten:
for a in /sys/class/scsi_device/*/device/timeout; do echo -n "$a "; cat "$a" ; done;
Ändern mit:
echo 180 > /sys/class/scsi_device/0\:0\:0\:0/device/timeout
Dauerhaft ändern über /etc/udev/rules.d/99-vmware-scsi-udev.rules
# 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'"
it/linux/scsi_timeout.txt · Zuletzt geändert: 2019/05/14 21:16 von 127.0.0.1