Skip to content

Instantly share code, notes, and snippets.

@rmarchei
Last active February 17, 2017 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmarchei/4f63b6682766721e178eec9722dc7368 to your computer and use it in GitHub Desktop.
Save rmarchei/4f63b6682766721e178eec9722dc7368 to your computer and use it in GitHub Desktop.
Ubuntu Xenial on Vagrant: workaround for 'Medium access timeout failure. Offlining disk!'
ACTION=="add", SUBSYSTEM=="scsi" , ATTR{type}=="0|7|14", \
RUN+="/bin/sh -c 'echo 180 > /sys$$DEVPATH/timeout'"
Copy link

ghost commented Feb 17, 2017

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