Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using VirtualBox 3 on my Ubuntu 9.04 desktop, and I've got a VM with Windows XP sp3 mapping my ~/Documents folder as a shared folder. The virtualised Windows is mapping My Documents to the shared folder directly (//vboxsvr/Documents).

The problem is that every time that I'm interacting with the shared folder (i.e.: access, list files, etc.) it takes several seconds to do so.

Is there a way to speed this up?

share|improve this question
I have the exact same problem with an XP Host and both an Ubuntu guest and XP guest. Must be a VirtualBox thing (versus an O/S thing). I'd be interested in seeing a solution. – Michael Todd Jul 21 '09 at 22:41
I think it is only slow in listing. Writing and reading are not slow. – bert Nov 18 '09 at 20:35
up vote 5 down vote accepted

It seems to be an issue with name resolution. That happens on Windows machines while it tries to use the virtual network adapter to resolve the name. I have resolved this issue on a Windows host, but not on an Ubuntu host.

I found this site that has some suggestions:

In C:\WINDOWS\system32\drivers\etc\hosts change the line       localhost

by appending Vboxsvr and your computer name
so for a computer named the_box it would become       localhost Vboxsvr the_box
share|improve this answer
Already saw the linked-to site but it did not help me... editing \etc\hosts has no effect on speed, and anyway my share is already mounted as a drive letter, but access to it is still far slower than local disk. 4.1.2 guest additions. – Jesse Glick May 8 '12 at 15:34
My understanding was that the hosts file fix was only for Windows guests (in fact the hosts file has to be changed in the guest, not the host) since their shares are mounted as network drives. – Code Bling Aug 27 '12 at 21:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .