From f48da5b727b05d83c784b7a032ec9bd3234bcef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Tue, 11 Apr 2017 22:03:24 -0500 Subject: [PATCH] Issue #1289: Add encryption as a possible cause for NFS issues on linux [ci skip] --- docs/getting-started/installation-linux.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/installation-linux.md b/docs/getting-started/installation-linux.md index ec9ff0a5f..63234c882 100644 --- a/docs/getting-started/installation-linux.md +++ b/docs/getting-started/installation-linux.md @@ -63,7 +63,9 @@ stdin: is not a tty mount.nfs: Connection timed out ``` -If you get this message, then it's likely that either NFS isn't running correctly on your host, certain ports are protocols are being blocked by the system firewall, or you need to add additional mount options to your `vagrant_synced_folders` configuration. Try the following fixes: +If the directory you are trying to mount is within an encrypted folder or volume, NFS will very often fail with the above message as well as `exportfs: /home/myusername/Sites/drupalvm does not support NFS export`. There is no workaround other than sharing a directory that is not encrypted. + +If encryption is not the issue then it's likely that either NFS isn't running correctly on your host, certain ports are protocols are being blocked by the system firewall, or you need to add additional mount options to your `vagrant_synced_folders` configuration. Try the following fixes: 1. On Ubuntu, if you get a message like `It appears your machine doesn't support NFS`, run `sudo apt-get install -y nfs-server`. 2. Install the `vagrant-vbguest` plugin, which will make sure you are running the latest version of the VirualBox Guest Additions inside the VM (this can solve many different problems!).