winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
567 stars 62 forks source link

WinNFSd can't open file Vagrant/embedded/gems/gems/vagrant-X.Y.Z/nfspaths #73

Closed ferenczy closed 7 years ago

ferenczy commented 8 years ago

I have successfully installed the vagrant-winnfsd plugin:

vagrant plugin install vagrant-winnfsd

While Vagrant is executing a VM using vagrant up, new Windows console window containing this error is opened:

Can't open file C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.7.4/nfspaths.

Current directory:
D:\vagrant\development

Command to be executed:
"C:\Users\ferenczy\.vagrant.d\gems\gems\vagrant-winnfsd-1.1.0\bin\winnfsd.exe" -log off -pathFile "C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.7.4/nfspaths" -id 0 0

...and vagrant up hangs on Mounting NFS shared folders... for some time, then it time outs.

The file C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.7.4/nfspaths really doesn't exists (but the directory vagrant-1.7.4 does).

My synced folder configuration in Vagrantfile looks like this:

config.vm.synced_folder "../sources", "/work",
    :id => 'work-root',
    :type => 'nfs',
    :mount_options => ['nolock,vers=3,udp,noatime']

...and it's the only synced folder configured. It works fine with VirtualBox's shared folders.

I'm using Windows 7 64 bit host, Ubuntu 14.04.3 guest, Vagrant 1.7.4 and VirtualBox 5.0.0.

What am I missing?

GM-Alex commented 8 years ago

It seems that the nfspaths file is not readable or not created. Does the file exists? It could be some permission problem.

caio2k commented 8 years ago

I had this problem also. Solved by reinstalling Vagrant in default folder C:\Hashicorp\Vagrant. I suspect there is an issue with folder name with spaces.

marcharding commented 7 years ago

This is fixed since 1.2.1.