Mount Vboxsf Share Protocol Error
Contents |
Opened 9 years ago Last modified 2 months ago Mounting share directory on Linux host result in Protocol error if default share name is used Reported by: paulsiu Owned by: Priority: minor Component: guest additions Version: VirtualBox 1.5.2 Keywords: Cc: Guest type: Linux Host type: other Description /sbin/mount.vboxsf mounting failed with the error protocol error ubuntu (last modified by michael) (diff) Host is Ubuntu 7.10. Guest is Linux Mint 4.0
/sbin/mount.vboxsf Protocol Error
I created a new shared directory using the GUI in a machine's setting. The GUI will prompt me to select a
Mount.vboxsf Mounting Failed With The Error No Such Device
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
Virtualbox Shared Folder Protocol Error Writing
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: sf_read_super_aux err=-71 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. Change History comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 9 years ago by allentiak Replying to paulsiu: Host is Ubuntu 7.10. Guest is Linux Mint 4.0 It also happened to me. My host is a Debian stable/testing; the guest is Ubuntu 7.10. VirtualBox is also version 1.5.2. I followed your advise and it worked. Thank you for reporting the bug. comment:2 in reply to: ↑ 1 Changed 9 years ago by abitgroggy I followed your advise and it worked. Works okay if you use the mount command directly or fstab to mount. I still have the problem on 1.5.6 with Ubuntu 7.10 when using autofs to mount in /misc. Works fine with Fedora 8. I found in Fedora 8 that fstab would not work as the vboxsf was not loaded yet, so switched to autofs. comment:3 follow-ups: ↓ 4 ↓ 9 Changed 8 years ago by frank I don't think this is a bug in VirtualBox. There is a known issue with Linux mount: If there exists are directory or file of the same name as your host share then mount expands the
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this /sbin/mount.vboxsf: mounting failed with the error: no such file or directory site About Us Learn more about Stack Overflow the company Business Learn more /sbin/mount.vboxsf: mounting failed with the error: protocol error centos about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu virtualbox unmount shared folder is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The https://www.virtualbox.org/ticket/928 best answers are voted up and rise to the top Error mounting VirtualBox shared folders in an Ubuntu guest up vote 37 down vote favorite 25 I have Ubuntu 10 as the guest OS on a Windows 7 machine. I have been trying to setup shares through VirtualBox, but nothing is working. First, I create the share in VirtualBox and point it to a Windows folder. Then http://askubuntu.com/questions/30396/error-mounting-virtualbox-shared-folders-in-an-ubuntu-guest I try to mount the drive in Linux, but I keep getting /sbin/mount.vboxsf: mounting failed with the error: Protocol error I have read so many solutions to this, but none seem to work. I have tried: Using the mount.vboxsf syntax Reinstalling VBox additions Rebooting Enabling and trying as root account I made a share called "Test" in VBox Shared folders. Then I made a directory in ubuntu named "test2". Then I tried to execute this command: sudo mount -t vboxsf Test /mnt/test2 Any other ideas? mount virtualbox share|improve this question edited Jan 3 '14 at 18:00 Braiam 39.1k1693154 asked Mar 14 '11 at 23:18 skaz 4131714 add a comment| 6 Answers 6 active oldest votes up vote 45 down vote accepted In order to use shared folder functionality few prerequisites need to be met: Make sure that Guest Additions are properly installed on the guest OS. Users in a guest Ubuntu must be in the group vboxsf to be able to access shares. Define a directory on the host that will be used in the virtual machine using the settings dialogue of Virtual Box. Do not share personal folders like /home/username or My Documents avoid special char
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site http://serverfault.com/questions/674974/how-to-mount-a-virtualbox-shared-folder/674978 About Us Learn more about Stack Overflow the company Business Learn more about https://ubuntuforums.org/archive/index.php/t-1006818.html hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best protocol error answers are voted up and rise to the top How to mount a VirtualBox shared folder? [closed] up vote 58 down vote favorite 62 What is the procedure for mounting a VirtualBox shared folder in Linux? I tried variations of the following mount command but I keep getting protocol error or other mount errors. sudo mount -t vboxsf share /home/toto linux virtualbox mount share asked Mar mounting failed with 12 '14 at 4:25 BSalita locked by Michael Hampton♦ May 11 '15 at 1:37 This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center. closed as off-topic by Michael Hampton♦ May 11 '15 at 1:37 This question appears to be off-topic. The users who voted to close gave this specific reason:"Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – Michael HamptonIf this question can be reworded to fit the rules in the help center, please edit the question. Is this a question? Please rephrase it so that it becomes a question, post your own answer to it, and I'll be more than glad to remove the downvote. –icedwater Mar 12 '14 at 4:26 1 Edited to conform to Q&A standards. &
shared folder MaindotCDecember 10th, 2008, 01:41 AMThe VirtualBox documentation is rather confusing regarding this issue. It would really help if they would accompany an exact example. This is from page 62 of the user manual regarding shared folders: The command is as follows: VBoxManage sharedfolder add "VM name" -name "sharename" -hostpath "C:\test" Here's what I did. First, instead of following the directions for the command prompt, I opened VirtalBox, clicked on a Fedora 9 VM, clicked "Shared Folders", clicked "Add a new shared folder", entered the path on my host OS of the shared folder I created, and clicked "Ok". My shared folder is located at /home/a34lkj2348dsf311/Desktop/shared_folder. Now I have to tell the VM where the shared folder is and where to mount it. So, page 62 continues: In a Linux guest, use the following command: mount -t vboxsf [-o OPTIONS] sharename mountpoint So I created a directory in my Fedora VM. It's in /root/Desktop/fedora_share. Here's what I entered and the associative output: [root@localhost Desktop]# mount -t vboxsf /home/a34lkj2348dsf311/Desktop/shared_folder fedora_share/ /sbin/mount.vboxsf: mounting failed with the error: Protocol error [root@localhost Desktop]# It's difficult for me to pinpoint the problem because if I want to do it via the command line on the host o/s I get the following output: a34lkj2348dsf311@a34lkj2348dsf311-desktop:~$ sudo VBoxManage sharedfolder remove Fedora -name ~/Desktop/shared_folder/ [sudo] password for a34lkj2348dsf311: VirtualBox Command Line Management Interface Version 2.0.6 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved. [!] FAILED calling aVirtualBox->FindMachine(Bstr(argv[1]), machine.asOutParam()) at line 7455! [!] Primary RC = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value [!] Full error info present: true , basic error info present: true [!] Result Code = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value [!] Text = Could not find a re