cannot mount nfs on windows

321 views
Skip to first unread message

Romeo Disca

unread,
Aug 19, 2014, 1:11:05 PM8/19/14
to vagra...@googlegroups.com
Hi,

my request to a zend framework 2 application lasts over a minute.

So searched the internet for a solution and found this article:
(use nfs mount instead of shared folder)

I installed this plugin successfully.

This is my config:

Win7, vagrant 1.6.3, vagrant-winnfsd version 1.0.10, VirtualBox 4.3.12, box: precise64, local network: 192.168.178.x
config.vm.synced_folder ".", "/vagrant", type: "nfs"

The nfs service is up and running and firewall disabled.

config 1:
config.vm.network "private_network", ip: "192.168.178.55"

results in:
The specified host network collides with a non-hostonly network!
This will cause your specified IP to be inaccessible. Please change
the IP or name of your host only network so that it no longer matches that of
a bridged or non-hostonly network.

config 2:
config.vm.network "private_network", ip: "10.11.12.13"

results in:
------
==> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o 'vers=3,udp,nolock' 10.11.12.1:'/C/Work/pflegebox' /vagrant

stdin: is not a tty
mount.nfs: mount to NFS server '10.11.12.1:/C/Work/pflegebox' failed: timed out, giving up
=======

Why isn't ip: "192.168.178.55" not working?

And why does config 2 map the configured ip address to 10.11.12.1?

What is the right config to mount a Windows nfs server within this box?

Any suggestions?

Thanks in advance.

Alvaro Miranda Aguilera

unread,
Aug 19, 2014, 7:45:22 PM8/19/14
to vagra...@googlegroups.com
that error mean the network 192.168.178.x is a network used in the host.

if you want to use that network, you should use a bridbe interface, in that way the vm will be connected to that existing network.

2nd question:
10.11.12.13 is the ip used in the vm, so I can asssume 10.11.12.1 is the host

NFS server un on the host, windows 7, then from the guest you mount what you have on the host.



did you install WinNFSd binaries. on the host machine?
are those running?

without this plugin, can you create nfs folder in the host a mount in the guest?





--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages