Skip to content

Commit 029cd7a

Browse files
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.
1 parent 21b1753 commit 029cd7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ Start the Docker-OSX container with the additional flag `--network host`
872872
Create and mount the nfs folder from the mac terminal:
873873
```
874874
mkdir -p ~/mnt
875-
sudo mount -t nfs 10.0.2.2:/srv/nfs/share ~/mnt
875+
sudo mount_nfs -o locallocks 10.0.2.2:/srv/nfs/share ~/mnt
876876
```
877877

878878
### Share USB Drive into macOS over QEMU

0 commit comments

Comments
 (0)