Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tools:nfs [2016/01/13 07:48]
darron [autofs]
tools:nfs [2017/01/11 16:33] (current)
darron [autofs]
Line 1: Line 1:
 ==== NFS ==== ==== NFS ====
 +
 +Network file system allows us to share files over the network.
  
 === Debian server === === Debian server ===
Line 23: Line 25:
 </code> </code>
  
-=== Raspbian client ===+=== Debian client ===
 <code> <code>
 apt-get install rpcbind nfs-common apt-get install rpcbind nfs-common
Line 56: Line 58:
 </code> </code>
  
-=== autofs client ===+=== Debian autofs === 
 + 
 +One you have an NFS client working you can remove the entry in fstab and use autofs to mount it instead.
  
 <code> <code>
 apt-get install autofs apt-get install autofs
-echo "/- /etc/auto.data" > /etc/auto.master +echo "/- /etc/auto.data" >> /etc/auto.master 
-echo "/embedded -fstype=nfs $SERVERADDRESS:/embedded" > /etc/auto.data+echo "/embedded -fstype=nfs $SERVERADDRESS:/embedded" >> /etc/auto.data
 /etc/init.d/autofs restart /etc/init.d/autofs restart
 </code> </code>