5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MacOS Big SurでNFSをマウントする

Posted at

Big SurでNFSをマウントしようとした際に、リモートサーバのロックが取れないとエラーが出る件についてメモ。

環境

  • Client: MacOS Big Sur 11.1
  • Server: Raspbian GNU/Linux 10 (buster)

状況

NFSマウント時に以下のようにエラーが発生した。

$ sudo mount_nfs -P 192.168.10.1:/mnt/disk/nfs ~/nas
mount_nfs: can't mount with remote locks when server (192.168.10.1) is not running rpc.statd: RPC prog. not avail

解決方法

Big Sur以降ではNFSマウント時のデフォルトの振る舞いが変化したみたい(こちらの記事参照)。

リモートサーバ側でrpc-statサービスを立ち上げればよかった。

sudo systemctl start rpc-statd.service
sudo systemctl enable rpc-statd.service

その後、Mac側でマウント。

mkdir -p ~/nas
sudo mount_nfs -P 192.168.10.1:/mnt/disk/nfs ~/nas

これでマウントできた。

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?