Shared folder mount fails with "No such file or directory" after upgrade
|Reported by:||Aleko||Owned by:|
|Component:||guest additions||Version:||VirtualBox 5.1.16|
|Keywords:||shared mount vagrant||Cc:|
|Guest type:||Linux||Host type:||Windows|
I have a Windows 10 host and several Linux (mostly Ubuntu) virtual machines created by Vagrant. After upgrading from 5.1.14 to 5.1.16 shared folder mount stopped working:
# mount -t vboxsf vagrant /vagrant /sbin/mount.vboxsf: mounting failed with the error: No such file or directory
I noticed that Vagrant registered shared folder paths in the following format:
As soon as I removed the leading
"\\?\" from the path, the mount command worked again.
After downgrading back to 5.1.14, the mount works again without any issues, so this looks like a regression in 5.1.16.