how to remove old shared folder info?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
user2015
Posts: 2
Joined: 5. Jun 2015, 05:02

how to remove old shared folder info?

Post by user2015 »

I'm trying to share a Windows folder for a Linux client. I think there is some old conflicting shared names, but I'm not sure how to remove them (I already removed the shares in the VirtualBox settings).

The error message is:
Failed to create the shared folder [share name] (pointing to [path]) for the virutal machine [VM name].

Could not create a shared folder '[share name]' mapped to '[path]' (VERR_ALREADY_EXISTS).
MacVette
Posts: 13
Joined: 17. Dec 2010, 22:23
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7 Pro 64-bit, CentOS Linux

Re: how to remove old shared folder info?

Post by MacVette »

I just ran into the same problem and found your post when searching for a solution. I have a Mac Host and CentOS 7 Linux guest. Did you ever get this resolved?

I can umount and rmdir the old shared sf_* folders in the /media directory. However, as soon as I reboot they all reappear.
MacVette
Posts: 13
Joined: 17. Dec 2010, 22:23
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7 Pro 64-bit, CentOS Linux

Re: how to remove old shared folder info?

Post by MacVette »

I did a bit more searching and found that the following command (issued by the host with the Linux VM closed) helped.

Code: Select all

vboxmanage sharedfolder remove "Fedora 10" -name "VM_Shared_Folder"
Scroll down towards the bottom of this page:
http://virtuatopia.com/index.php/Virtua ... ed_Folders


I deleted the old shared folders and recreated them. That got things working again.
Post Reply