Mount 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 (last modified by michael) (diff) Host /sbin/mount.vboxsf mounting failed with the error protocol error ubuntu is Ubuntu 7.10. Guest is Linux Mint 4.0 I created a new shared directory using the virtualbox shared folder protocol error writing GUI in a machine's setting. The GUI will prompt me to select a host directory for the shared directory. When I select the mounting failed with the error protocol error centos 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 sf_read_super_aux err=-71 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
Mount.vboxsf Mounting Failed With The Error No Such Device
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 full path of that file/directory and passed this expanded name as network share to the mount.vboxsf command which obviously will fail since that guest path is not known to the host. Try to use mount.vboxsf directly (this will work) for
failed with the error: Protocol error [Solution] I use Oracle's virtual machine, Virtualbox to run the Linux operating system from my Windows machine. It's the most simple way to have two operating system in your laptop or
/sbin/mount.vboxsf Mounting Failed With The Error No Such File Or Directory
PC. Since I run most of Java program in Linux, VirtualBox gives me a virtualbox symlink protocol error nice interface to run UNIX commands right from Windows box. This blog post is about the mountingof shared folder failed virtualbox unmount shared folder error in Oracle's Virtualbox VM. It was working fine day before yesterday and now, after I restarted my virtual box and tried to mount my shared folder, I was greeted by this error: "/sbin/mount.vboxsf: mounting https://www.virtualbox.org/ticket/928 failed with the error: Protocol error". I was using the following command to mount my shared folder on VirtualBox: $ mount -t vboxsf mountfolder /home/devInHost/mountfolder I was running Oracle's VirtualBox 4.1 version with the guest operating system as RedHat Linux and host OS as Windows 8. Solving /sbin/mount.vboxsf: mounting failed with the error: Protocol error VirtualBox There was nothing different I was trying, I had run this command successfully http://javarevisited.blogspot.com/2015/12/sbinmountvboxsf-mounting-failed-with-error-protocol-virtual-box-error.html numerous times, but it was not working today. I looked all over the internet for a solution and tried things like running this command after doing $ cd / or $ cd ~ but with no luck. After a bit of struggle, I found that my virtual box has no shared folder. I went to Settings -> Shared Folders and there was nothing on it, even though I had specified shared folder in the previous run. I later realized that I had not made it permanent, that's why when I restarted my VirtualBox, there was no shared folder. Once I specified the shared folder the command ran fine, even without restarting the virtual box. Summary Here is the summary of what happened, what was the root cause of the error and how I fixed it. What I was trying to do: mounting shared folder on Linux guest OS inside Oracle VirtualBox. Command: $ mount -t vboxsf mountfolder /home/devInHost/mountfolder Error: "/sbin/mount.vboxsf: mounting failed with the error: Protocol error" Cause: There was no shared folder. I had before last run but it wasn't permanent so when I restarted the Virtual box, it got reset. You can check this by going to Settings -> Shared Folders Solution: Sp
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 About Us Learn more about Stack Overflow the company Business Learn more http://serverfault.com/questions/674974/how-to-mount-a-virtualbox-shared-folder about 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 answers are voted up and rise to the top How to mount a VirtualBox shared folder? [closed] up vote 58 down vote favorite protocol error 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 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 mounting failed with 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. –BSalita Mar 12 '14 at 4:52 pls update question what you tried and what error you getting –vinay hunachyal Mar 12 '14 at 4:56 Edited to show non-working command. A common error is protocol error as stated in question. –BSalita Mar 12 '14 at 5:05 I am getting this error any solution to this "mount: unknown filesystem type 'vboxsf'" –sandip divekar Nov 20 '14 at 6