Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 4 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

127.0.0.1       localhost

by appending Vboxsvr and your computer name
so for a computer named the_box it would become

127.0.0.1       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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.