Workstation 12.5.7
Host: Windows 10 Pro 1703, x64
Guest: Ubuntu 16.04.3 (4.10.0-30-generic kernel), x64
I've been trying to get my Seagate external USB 3.0 hard drive working under a Ubuntu guest for quite some time now with no success and ended up connecting the drive to the guest via USB 2.0 instead (not a very satisfactory solution as file transfer speeds over USB 2.0 are painfully slow).
The drive would connect to the guest, but would not mount. lsusb shows that Ubuntu can see the drive. It turns out that certain USB storage devices do not work with UAS (USB Attached SCSI) enabled. This is a reported bug in Ubuntu (Bug #1584557 “Seagate external drive causes SCSI bus resets when...” : Bugs : linux package : Ubuntu )
To check if your drive is not working with UAS enabled:
- Connect drive to guest
- Run dmesg in a terminal; some errors will be logged (in my case, they were highlighted red)
Disabling UAS for your drive:
- Run lsusb - note the ID of your drive (example: 0bc2:02322)
- Run sudo nano /etc/modprobe.d/blacklist_uas.conf
- Add the following line to the file:
- options usb-storage quirks=ADD ID HERE:u (example using above ID: options usb-storage quirks=0bc2:02322:u)
- Exit nano (Control + X, then Y to save)
- Run sudo update-initramfs -u; sudo reboot
To test whether UAS is disabled for your drive, run dmesg after connecting the drive to the guest. UAS is blacklisted, using usb-storage instead should appear in the output of dmesg
I hope this helps.