Mounting share directory on Linux host result in Protocol error if default share name is used
|Reported by:||Paul Siu||Owned by:|
|Component:||guest additions||Version:||VirtualBox 1.5.2|
|Guest type:||Linux||Host type:||other|
Description (last modified by )
Host is Ubuntu 7.10. Guest is Linux Mint 4.0
I created a new shared directory using the GUI in a machine's setting. The GUI will prompt me to select a host directory for the shared directory. When I select the share directory, a share name is automatically generated. So if I select the directory "/home/paulsiu/vshare", the share name "vshare" is created.
If I attempt to mount the vshare using the following command in the Linux Guest I get the following error:
sudo mount -t vboxsf vshare /home/paulsiu/share /sbin/mount.vboxsf: mounting failed with the error: Protocol error
The syslog will have the error:
Oct 8 18:27:09 wxbuilder kernel: vboxvfs: sf_glob_alloc: vboxCallMapFolder failed rc=-102 Oct 8 18:27:09 wxbuilder kernel: sf_read_super_aux err=-71
Now suppose I go back into the GUI and change the "vshare" to "vshare2". The following mount command will work:
sudo mount -t vboxsf vshare2 /home/paulsiu/share
For some reason, whatever Virtualbox select as the default share name will always fail to mount. If you pick something else, it will work.