Differences

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

Link to this comparison view

Both sides previous revision Previous revision
linux:nfs [2019/02/13 17:18]
tmade [Config]
linux:nfs [2019/02/13 18:22] (current)
tmade [Config]
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/  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: 2019/02/13 18:22 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