Page 1 of 1

Shared File Access Failure

Posted: 10. May 2011, 06:13
by itsmike
OS: Ubuntu 11
VBox: 4.0.6
Guest: WinXP/32 (sp3)
Hardware: AMD Phemon II X4 970 + 16GB.

Defined a shared folder using vbox settings panel. Defined a shared folder using VBoxManage. Tried to access via Windows Network Folders. vboxdrv does not appear. Tried to mount (net use z: \\vboxdrv\data (data used in both command forms as the sharename). No luck.

Used samba and windows sharing to access files. No problems. Used iTunes to access ipod via usb (udev definitions). No problem.

lsmod shows all of the vboxdrv drivers being loaded. Udev rules are the standard ones expected for the various usb node definitions. Nothing for the shared file systems.

Didn't see anything in the logs. The vbox interface shows a "blue" icon to indicate the the shared folder exists. The activity light never flashes since the drive isn't mounted. This is an efs4 drive. I can't find any documentation of the types of native drives that are supported, but I would have thought the default linux file system type would be supported. I've seen this same type of posting for linux 10.10 with no resolution.

Any suggestions would be sincerely appreciated. I really don't want to use swat/samba as a workaround to this issue unless absolutely necessary.

Thanks for your help
itsmike

Re: Shared File Access Failure

Posted: 10. May 2011, 20:42
by Sasquatch
Maybe checking the Manual might help. It's vboxsrv and it's visible in the Network Locations. Just open Explorer, click on Network Locations and presto, you have a VirtualBox Shared Folder location. Or run net use x: \\vboxsrv\sharename from a command line.

Re: Shared File Access Failure

Posted: 10. May 2011, 23:23
by itsmike
With all due respect, I read the manual fully, searched the forum thoroughly and even attempted to trace kernel/driver interaction before posting.

Again, opening explorer and accessing the network reveals my network shares. (3 in fact). I removed one using the interface and entered the net use command successfully.

Command interaction:

C:\> net use w: \\vboxsrv\aman
System error 53 has occurred
The network path was not found
C:\>

Neither method presented in the user manual works. Tried spelling permutations of vboxsrv (including cutting the command from the users manual and pasting it directly onto the command line with final edits for my shared name). No dice.

From the settings interface i show the following machine folders:
Name Path Auto-Mount Access
aman /TestDir Yes Full

Permissions on TestDir are 777

I've again removed and constructed the directory and shared folder (1st in the settings panel, then using VBoxManage

# VBoxManage sharedfolder add "MyServer" --name "aman" --hostpath /TestDir --automount

The share appears in the "settings" panel just as before. Attempts to mount the directory yield the same results.

Any suggestions?
Thanks

Re: Shared File Access Failure

Posted: 10. May 2011, 23:43
by itsmike
I hope that this might help a little more:

-------------------------------------------------------------------------
$ VBoxManage showvminfo "MyServer" |less

Shared folders:

Name: 'aman', Host path: '/TestDir' (machine mapping), writable

VRDE Connection: not active
Clients so far: 0

Guest:

OS type: WindowsXP
-------------------------------------------------------------------------

Re: Shared File Access Failure

Posted: 11. May 2011, 19:24
by Sasquatch
If you get "Network path not found" while you have defined a shared folder with that name, it means you don't have the Guest Additions installed. It's mandatory for the SF to work.