The same thing happened to me. I copied my Vagrantfile from another project and forgot to change the NFS settings. This caused the current virtual machine to mount the parent folder of the virtual machine from which I copied the Vagrant source file. So I did this:
vagrant halt vagrant up
Still the same error. So I tracked the export file located in / etc / exports, which looks like this:
# VAGRANT-BEGIN: 501 64e10d4d-342e-4f55-b69a-97edda35742f "/Users/[username]/vagrant" 192.168.11.12 -alldirs -mapall=501:20 # VAGRANT-END: 501 64e10d4d-342e-4f55-b69a-97edda35742f # VAGRANT-BEGIN: 501 b3c6e7fe-95d4-48db-8876-c89d3e07af8d "/Users/[username]/Sites/molitech-oms" 192.168.11.124 -alldirs -mapall=501:20 # VAGRANT-END: 501 b3c6e7fe-95d4-48db-8876-c89d3e07af8d # VAGRANT-BEGIN: 501 3e2aabfd-ce63-441b-85a2-1b51e8beb863 "/Users/[username]/Sites/app" 192.168.11.125 -alldirs -mapall=501:20 # VAGRANT-END: 501 3e2aabfd-ce63-441b-85a2-1b51e8beb863 # VAGRANT-BEGIN: 501 ff92e353-9f6d-48ee-9d76-e29b33f1dd60 "/Users/[username]/Sites" 192.168.11.126 -alldirs -mapall=501:20 # VAGRANT-END: 501 ff92e353-9f6d-48ee-9d76-e29b33f1dd60
The last two ways are the same. So I deleted the last three lines and ran:
vagrant halt && vagrant up
Now everything is working fine.
OSX 10.11.1 Tramp 1.7.4
colefner Nov 22 '15 at 7:47 2015-11-22 07:47
source share