From 029cd7a46df95917118cb44ae194f92bd6132b9c Mon Sep 17 00:00:00 2001 From: Martin Mullins Date: Tue, 30 Nov 2021 00:14:10 +0000 Subject: [PATCH] NFS mount documentation, locking issue I ran into some issues when I ran software that was trying to lock files under the nfs folder. This was on Catalina and looks like this is a common issue with Mac -> Linux nfs. After digging into it, for my use case using the `locallocks` NFS option on the Mac client resolved it. The `locallocks` option means that locking is handled by the client. There would be problems if you actually need server side locking. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4173f67..627fd70 100644 --- a/README.md +++ b/README.md @@ -872,7 +872,7 @@ Start the Docker-OSX container with the additional flag `--network host` Create and mount the nfs folder from the mac terminal: ``` mkdir -p ~/mnt -sudo mount -t nfs 10.0.2.2:/srv/nfs/share ~/mnt +sudo mount_nfs -o locallocks 10.0.2.2:/srv/nfs/share ~/mnt ``` ### Share USB Drive into macOS over QEMU