New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFS mount error: v1.2.2 #1744
Comments
|
+1 I am having exactly the same problem here |
|
@chakming do you think this is related to 1.2.2? using 1.2.1 works? |
|
i've tried downgrade vagrant but seems having the same problem. |
|
Same issue with 1.2.2 but not with 1.2.1 (Mac OS 10.8) |
|
@chakming Had the same problem and the exact same setup (OS X 10.8.3, Vagrant 1.2.2 VBox 4.2.12 r84980). By simply adding a trailing slash i was able to get it to work. |
|
@hdalgrav Thanks for the reply. The trailing slash doesn't work for me and shows following error: The following SSH command responded with a non-zero exit status. mount -o vers=3 192.168.66.1:'/Users/example/Documents/example/example.lamp/web' /var/www |
|
It doenst look like you have inserted the trailing slash after your pathname, or maybe it is Vagrant stripping them out, but that would be weird since i am able to reproduce the error by simply removing my trailing slashes. |
|
@hdalgrav nope i did. but the error didn't have the trailing slash lol |
|
I'm getting the same error. Running Mac OSX 10.8.4, Vagrant 1.2.2, and VirtualBox 4.2.8 r83876. Digging a bit deeper, it tells me that "the requested NFS version or transport protocol is not supported": On the host: Does nfsd on Mac OSX support version 3? How can we check? |
|
Same problem here, OSX 10.8.3, Vagrant 1.2.2, Vbox 4.12 The error is: |
|
Just to add to this since I'm having a similar issue. I downgraded to 1.1.5 and now I get the following message |
|
Same issue here. |
|
Managed to resolve this by rebooting my machine. OS X 10.8.4, Vagrant 1.2.2, VirtualBox 4.2.12 |
|
@sentience When all else fails... ;) Thanks for the tip. Will try this afternoon. |
|
@sentience Hmm, no dice. Can I ask what |
|
It’s 10.0.0.23. Excerpt from my |
|
Seeing this issue here, too. Restart, downgrade, none of that works. Other tips? Is this an env issue or bug? |
|
Just after posting, I found this. Run this command to check for conflicting exports - |
|
@bke-drewb 's solution worked for me. For reference exports are stored in /etc/exports |
|
@bke-drewb @markeganfuller thanks for the reference. I commented out the line in the exports file and it still didn't resolve the problem. Was there something more to do? |
|
@kayzee I removed the line entirely, someone else with the same problem removed the virtualbox machine that it was related to and that worked for them. Beyond that I don't know without further research. |
|
I was getting the same problem, for me, it was because I was specifying a symbolic link on my host system, I put in the direct location, all is good. |
|
Ah yes symlinks are awkward with NFS, best to only use relative symlinks to files within the share. |
|
All SORTS of bug fixes that fix many causes of this error are in 1.2.4 and more are coming in 1.2.5. Please try those versions and if the problem persists, then please open another issue with debug level logs. |
|
@bke-drewb 's solution worked for me after I restarted my laptop. Thanks everyone. |
|
Same issue here, nfsd's 10.8.4, Vagrant 1.2.7, VirtualBox 4.2.16 r86992 |
|
Ok, my bad, after installing nfs-common on vm's ubuntu - everything seems to work! |
|
Note to self: Disable PF firewall (IceFloor.app)! |
|
As this is a popular issue for nfs mounts, when receiving the error: |
|
Ubuntu 14.04, being from the land of Linux I don't often think of rebooting, but that's exactly what fixed it - NFS mount worked fine after rebooting! oy! |
|
Tried everything here, but going back to: From a static IP assignment: ... is what did the trick for me. |
|
Thank you @thgrendel ! I edit my hosts file many times a day while testing various deployments behind load balancers. It looks like at some point I fouled up the localhost entry from 127.0.0.1 to 27.0.0.1. Fixed that and NFS came back for vagrant. |
|
Fixing my /etc/hosts file on my mac fixed this for me too. I had temporarily pointed localhost to somewhere other than 127.0.0.1 and switching it back resolved this. |
|
My problem was, that IP adress was 192.168.100.1 |
|
restarting my machine helped ... |
|
Confirming: switching localhost back to 127.0.0.1 in |
|
Try - VAGRANT_USE_VBOXFS=true vagrant up |
|
Adding |
|
Similar issue on Windows 7 Fixed by... restarting PC... |
|
Emptying /etc/exports fixed this for me, thanks @gnutix. It seems if you have multiple vagrant boxes, there can be conflicts. |
|
Just chipping in to say @gnutix and @ronilaukkarinen solution worked for me with Roots/Trellis. |
|
Confirming that this error happens also if you are working on an encrypted home directory on Ubuntu. I moved the project to outside the encrypted home and it worked just fine. |
|
I have the same error when running vagrant up
i checked my /etc/hosts file
see?
my bad, typo when i edit this file using vi editor i fixed my /etc/hosts file, do vagrant up and work fine. --Cheers-- |
|
Today, I finally realized I had to fix the hosts file on the host machine. Indeed, there was no entry |
|
My issue resolved by changing IP to end in 3 and not 1. I'm not sure if was necessary to empty /etc/exports, but I did that first and then edited the Vagrantfile like so: |
|
Changing vagrant app directory from home to other directory solved the problem. thanks for the Tip! |
|
Edit: This issue is so sporadic. After rebooting my Mac, my NFS mount won't let files be deleted sometimes. If I edit and save the file from my VM, it saves successfully and then I can delete it. Outdated |
|
For Mac OS Sierra this solve my day! (Vagrant 1.9.2) |
|
I had a similar problem in Ubuntu, Vagrant version 1.9.3, VB version 5.1.22 The problem was that my host's OS has changed the I had to run:
There were many other things I tried: starting/stopping the firewall (ufw, iptables, both, neither); adding specific rules to the firewall to allow all traffic to this IP; It wasn't until I made sure my vboxnet0 had an IP on the host machine that everything worked. |
|
Thank you to @gitis and @erikaheidi regarding moving it out of encrypted home folder - I also found that I was able to move beyond this issue once I did that. gitis commented on 4 Sep 2014
erikaheidi commented on 1 Apr 2016
|
|
I'm going to lock this issue because it has been closed for 30 days If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
chakming commentedMay 19, 2013
I've tried:
but the nfs issue still comes:
Environment:
OS X 10.8.3
vagrant 1.2.2
Virtualbox: 4.2.12 r84980
Vagrantfile + /etc/sudoers in guest + /etc/exports in my mac + vagrant DEBUG log:
https://gist.github.com/chakming/0d955ee0ef698f1b2a48
The text was updated successfully, but these errors were encountered: