Last active
February 17, 2017 12:04
-
-
Save rmarchei/4f63b6682766721e178eec9722dc7368 to your computer and use it in GitHub Desktop.
Ubuntu Xenial on Vagrant: workaround for 'Medium access timeout failure. Offlining disk!'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add", SUBSYSTEM=="scsi" , ATTR{type}=="0|7|14", \ | |
RUN+="/bin/sh -c 'echo 180 > /sys$$DEVPATH/timeout'" |
I had this problem too and your commands above definitely fix it. Any idea why it's necessary @rmarchei? Is it just a bug that Ubuntu needs to fix?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Workaround for "Medium access timeout failure. Offlining disk!" on Ubuntu Xenial 16.04 running on Vagrant.
Issue:
Copy
99-vagrant.rules
to/etc/udev/rules.d/
, thenreboot
or runudevadm trigger --action=add --subsystem-match=scsi
or runecho 180 > /sys/block/sda/device/timeout