I have an instance of virtualbox running Fedora 15 on my Windows XP machine. The Windows box (Z8GQ9439) is sharing a folder (rlevesq).
I am mounting that drive in the /etc/fstab as follows:
//Z8GQ9439/rlevesq /mnt/rlevesq cifs uid=500,gid=500,rw,exec,file_mode=0755,dir_mode=0755,credentials=/home/rlevesq/.cifscred 0 0
I am able to mount the drive fine. I can write to it and read from it.
The problem is that eventually the mount will become inaccessible from linux. It seems to happen when I am doing I/O intensive stuff in Windows, such as compiling C++ code.
When that happens I can't run ls /mnt/rlevesq
. Even sudo umount /mnt/rlevesq
doesn't work. In fact, when I run those commands they lock up the shell in which they were run.
dmesg gives the following error
[63823.762680] CIFS VFS: Server Z8GQ9439 has not responded in 300 seconds. Reconnecting...
[64070.860398] CIFS VFS: Unexpected lookup error -512
[64101.643986] CIFS VFS: did not end path lookup where expected namelen is 0
At this point, it doesn't matter how long I wait, the folder remains inaccessible. The only solution I've found is to restart the virtualbox.
- Is there some way to recover from this without restarting the linux box?
- Can anything be done to prevent this from happening; any mount option I've missed?