Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:nfs [2015/01/06 20:40] – darron | tools:nfs [2017/01/11 16:33] (current) – [autofs] darron | ||
---|---|---|---|
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: | ||
</ | </ | ||
- | === Raspbian | + | === Debian |
< | < | ||
apt-get install rpcbind nfs-common | apt-get install rpcbind nfs-common | ||
Line 36: | Line 38: | ||
=== Void Linux client === | === Void Linux client === | ||
< | < | ||
+ | xbps-install nfs-utils | ||
+ | echo " | ||
mkdir -p /embedded | mkdir -p /embedded | ||
echo " | echo " | ||
- | mount $SERVERADDRESS: | + | echo " |
+ | |||
+ | mkdir -p / | ||
+ | echo "# | ||
+ | chmod +x / | ||
+ | ln -s / | ||
+ | |||
+ | mkdir -p / | ||
+ | echo "# | ||
+ | chmod +x / | ||
+ | ln -s / | ||
+ | |||
+ | mount rpc_pipefs | ||
+ | mount $SERVERADDRESS:/ | ||
</ | </ | ||
- | == / | + | === Debian autofs |
+ | |||
+ | One you have an NFS client working you can remove the entry in fstab and use autofs to mount it instead. | ||
< | < | ||
- | blacklist rpcsec_gss_krb5 | + | apt-get install autofs |
+ | echo "/- / | ||
+ | echo "/ | ||
+ | / | ||
</ | </ | ||
+ |