MacOS Big Sur mount NFS错误 failed with 74

MacOS 升级到 Big Sur 之后,原先可以mount的NFS突然报错:

mount_nfs: can't mount with remote locks when server (192.168.3.234) is not running rpc.statd: RPC prog. not avail
mount: /Users/simonliu/nas/video failed with 74

解决方案1

使用nolocks参数即可

sudo mount -o nolocks,rw -t nfs 192.168.3.234:/e/video/ /Users/simonliu/nas/video/

或者更多的参数:

sudo mount -o nolocks,resvport,locallocks -t nfs 192.168.3.234:/e/video/ /Users/simonliu/nas/video/

解决方案2

让macOS使用NFS V4
编辑/etc/nfs.conf,添加如下内容

nfs.client.mount.options = vers=4

参考文献:
Since upgrading to Big Sur, i can not longer mount remote nfs drives
nfs mount/automount fails on Big Sur - Apple Community

猜你喜欢

转载自blog.csdn.net/toopoo/article/details/129920783