Skip to content

Instantly share code, notes, and snippets.

@mamemomonga
Created July 22, 2019 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamemomonga/a89658256c4a4b35d6710cb22f9fe0d4 to your computer and use it in GitHub Desktop.
Save mamemomonga/a89658256c4a4b35d6710cb22f9fe0d4 to your computer and use it in GitHub Desktop.
NFSメモ

NFSメモ

サーバ(192.168.1.1/24)

nfs-kernel-server と rpcbindの起動が必要

$ sudo apt install nfs-kernel-server

$ sudo vim /etc/exports
/disk1/share 192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash)

クライアント(192.168.1.2/24)

$ sudo apt install nfs-common
$ sudo mount -t nfs -o rsize=1048576,wsize=1048576,soft,timeo=30,nfsvers=3 192.168.1.1:/disk1/share /mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment