0
Increase scsi timeouts in Linux
rated 0 times
[
0]
[
0]
/ comments: 0 / hits: 252
/ 1 year ago, wed, dec 13, 2017, 10:17:43
You may need to increase scsi timeouts - here's how you'd do it.
# First, check your current settings and jot them down somewhere:
for a in /sys/class/scsi_generic/*/device/timeout; do echo -n "$a "; cat "$a" ; done;
# Here's how to increase the timeout across all devices to 180 seconds:
for i in /sys/class/scsi_generic/*/device/timeout; do echo 180 > "$i"; done
# After boot, that'll go away, so make it persistant:
echo 'for i in /sys/class/scsi_generic/*/device/timeout; do echo 180 > "$i"; done' >> /etc/rc.local
# Use this command again to check the values:
for a in /sys/class/scsi_generic/*/device/timeout; do echo -n "$a "; cat "$a" ; done;
More From
» general
Comments
There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account