winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
570 stars 61 forks source link

[Winnfsd] Can't mount whole drive/partition #2

Closed radmen closed 10 years ago

radmen commented 10 years ago

In my Vagrantfile I have line:

config.vm.synced_folder "w:\\", "/w", nfs: true

Vagrant tries to mount it, but fails.

It seems that there's somewhere a bug inside Winnfsd - it can't serve files from whole disk/partition. Only if exports are set to a folder everything works properly.

GM-Alex commented 10 years ago

The double slash could be the problem, could you try it with a single one.

radmen commented 10 years ago

Vagrantfile is fine. There's a bug in winnfsd.

I've started it with params: WinNFSd w:\ /www

Mount returned:

mount 192.168.2.1:/www /w

mount.nfs: mount system call failed

This happens only when whole drive/partition is put into exports.

It's related with NFS server so I will put it also on Bitbucket.