Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:nfs [2018/12/21 14:23] – [Config] tmadelinux:nfs [2019/02/13 18:22] – [Config] tmade
Line 12: Line 12:
   /etc/nfsmount.conf   /etc/nfsmount.conf
      
-Example (content):+Example "/etc/exports":
   /home/tmade/nfs *(fsid=0,ro,sync,root_squash)   /home/tmade/nfs *(fsid=0,ro,sync,root_squash)
   /nfs/test       *(fsid=0,rw,sync,no_root_squash)   /nfs/test       *(fsid=0,rw,sync,no_root_squash)
   /nfs/software   10.144.9.0/24(rw,sync,no_root_squash,no_subtree_check)       #Allow share "/nfs/software" to network 10.144.9.0   /nfs/software   10.144.9.0/24(rw,sync,no_root_squash,no_subtree_check)       #Allow share "/nfs/software" to network 10.144.9.0
 +  <export> <host1>(<options>) <hostN>(<options>)...
 +  /data/  10.144.9.230(rw,sync,no_root_squash,no_subtree_check) 10.144.9.231(rw,sync,no_root_squash,no_subtree_check)
   /data/backup  testclient.local(rw,sync,no_root_squash,no_subtree_check)      #Allow share "/data/backup" to host "testclient.local"   /data/backup  testclient.local(rw,sync,no_root_squash,no_subtree_check)      #Allow share "/data/backup" to host "testclient.local"
  
 +Commands:
   mount -t nfs partner_IP:/export/data /mnt/share                              #Mount(Linux to Linux)   mount -t nfs partner_IP:/export/data /mnt/share                              #Mount(Linux to Linux)
   mount -v -o vers=3 -t nfs partner_IP:/export/data /mnt/share   mount -v -o vers=3 -t nfs partner_IP:/export/data /mnt/share
linux/nfs.txt · Last modified: 2021/03/20 07:44 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki