VirtualBox

Opened 4 years ago

Last modified 3 years ago

#19515 new defect

Virtualbox disconnects USB drives without first unmounting them

Reported by: gio91ber Owned by:
Component: USB Version: VirtualBox 6.1.6
Keywords: unmount, data corruption Cc:
Guest type: all Host type: Mac OS X

Description

I'm using a macOS 10.15.4 host with Virtualbox 6.1.6 with a Windows 7 guest. If I select a USB drive already mounted on the host to connect to the guest from the machine USB menu the drive gets suddenly disconnected without first unmounting it thus causing filesystem inconsistencies and data loss. The same thing happens with linux guests.

I'd happily attach a log but I'm afraid of losing data on my USB backup hard drive so I hope this is alright.

Thanks in advance.

Change History (3)

comment:1 by gio91ber, 4 years ago

Sorry, I probably misspelled "without first unmounting them" to "without first mounting them", I can't edit the title now.

comment:2 by Frank Batschulat (Oracle), 4 years ago

Summary: Virtualbox disconnects USB drives without first mounting themVirtualbox disconnects USB drives without first unmounting them

in reply to:  description comment:3 by BishopY2J, 3 years ago

Replying to gio91ber: hello and happy new year to you & yours. I had this exact issue - here is how I got it to work for me [ on MacBook Pro running Big Sur ] *unmount your usb device(s) from your mac. but leave it connected to the Mac *install the extension pack - https://www.smarthomebeginner.com/install-virtualbox-extension-pack-on-linux-windows/ *and enable USB 3 (for new USB 3 devices) in settings of virtual box [ under ports - usb ] . there you should c 3 entries for USB (1, 2 & 3) *in that same section - look at the filters section. this is essentially telling what usb devices to start with your vm. & just choose your usb device *then start your vm.

I'm using a macOS 10.15.4 host with Virtualbox 6.1.6 with a Windows 7 guest. If I select a USB drive already mounted on the host to connect to the guest from the machine USB menu the drive gets suddenly disconnected without first unmounting it thus causing filesystem inconsistencies and data loss. The same thing happens with linux guests.

I'd happily attach a log but I'm afraid of losing data on my USB backup hard drive so I hope this is alright.

Thanks in advance.

Version 0, edited 3 years ago by BishopY2J (next)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use