{"action":"created","issue":{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/245","labels_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/245/comments","events_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/245/events","html_url":"https://github.com/geerlingguy/drupal-vm/issues/245","id":106856044,"number":245,"title":"\"Mounting NFS shared folders...\" hangs","user":{"login":"marcvangend","id":315224,"avatar_url":"https://avatars.githubusercontent.com/u/315224?v=3","gravatar_id":"","url":"https://api.github.com/users/marcvangend","html_url":"https://github.com/marcvangend","followers_url":"https://api.github.com/users/marcvangend/followers","following_url":"https://api.github.com/users/marcvangend/following{/other_user}","gists_url":"https://api.github.com/users/marcvangend/gists{/gist_id}","starred_url":"https://api.github.com/users/marcvangend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcvangend/subscriptions","organizations_url":"https://api.github.com/users/marcvangend/orgs","repos_url":"https://api.github.com/users/marcvangend/repos","events_url":"https://api.github.com/users/marcvangend/events{/privacy}","received_events_url":"https://api.github.com/users/marcvangend/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/labels/docs","name":"docs","color":"5319e7"},{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-09-16T20:27:26Z","updated_at":"2015-11-08T16:31:58Z","closed_at":null,"body":"I had an NFS problem which I managed to solve, so I just want to share the solution here in case it helps anyone.\r\n\r\nMy system is running Arch Linux. To get the NFS shares working properly I obviously had to install the nfs-utils package and get the nfs server running: `systemctl enable nfs-server && systemctl start nfs-server`. But that wasn't enough. As it turned out, I also needed to install the net-tools package, which contains tools like ifconfig. "},"comment":{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/comments/154839632","html_url":"https://github.com/geerlingguy/drupal-vm/issues/245#issuecomment-154839632","issue_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/245","id":154839632,"user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars.githubusercontent.com/u/481677?v=3","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T16:31:58Z","updated_at":"2015-11-08T16:31:58Z","body":"After a good deal of troubleshooting, I finally found that on Fedora 22, I had to mount the NFS share setting the NFS version to 3. From inside the VM:\r\n\r\n```\r\nsudo mount -o 'vers=3' 192.168.88.1:'/home/jgeerling/Sites/drupalvm' /var/www\r\n```\r\n\r\nAll other methods resulted in the error:\r\n\r\n```\r\nstdin: is not a tty\r\nmount.nfs: access denied by server while mounting 192.168.88.1:/home/jgeerling/Sites/drupalvm\r\n```\r\n\r\nhttps://github.com/kalamuna/kalastack/issues/92 ultimately led me down the path of investigating NFS versions, and the fix in my case was to explicitly set the NFS version in the synced_folders configuration like so:\r\n\r\n```yaml\r\nvagrant_synced_folders:\r\n  - local_path: ~/Sites/drupalvm\r\n    destination: /var/www\r\n    type: nfs\r\n    create: true\r\n    mount_options: ['vers=3']\r\n```\r\n"}}