2
2

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 5 years have passed since last update.

MacからUbuntuのファイルをNFSでマウントする

Posted at

下記コマンドでマウントできる。細かいサーバーの設定は書かない。ググればすぐに見つかる。

$ sudo mkdir /Volume/aaa
$ sudo mount_nfs -P server:directory /Volume/aaa

よくわからなかったのは、オプション-Pを付けずに実行するとエラーが起きる。

$ sudo mount_nfs -P server:directory /Volume/aaa
mount_nfs: can't mount directory from server onto /Volumes/aaa: Operation not permitted

真面目にmanページを読んでみたが、よくわからない。

-P (resvport)

resvport
             Use a reserved socket port number.  This is useful for mounting servers that require clients to use a reserved port number on the mistaken belief that this makes NFS more secure. (For the rare case where the client has a trusted root account but untrustworthy users and the network cables are in secure areas this does help, but for normal desktop clients this does not apply.)

動いたので良しとする。

2
2
1

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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?