This is an old revision of the document!


NFS

Debian server

apt-get install rpcbind nfs-common nfs-kernel-server 
sed -i 's/NEED_IDMAPD=$/NEED_IDMAPD=YES/' /etc/default/nfs-common
/etc/init.d/rpcbind restart
/etc/init.d/nfs-common restart
/etc/init.d/nfs-kernel-server restart
echo "/embedded $CLIENTADDRESS(rw,no_subtree_check,no_root_squash,async)" >> /etc/exports
exportfs -a

Void Linux client

echo "$SERVERADDRESS:/embedded /embedded nfs rw,noatime,noauto 0 0" >> /etc/fstab
mount $SERVERADDRESS:/embedded /embedded
/etc/modprobe.d/modprobe.conf
blacklist rpcsec_gss_krb5

Raspbian client

apt-get install rpcbind nfs-common
sed -i 's/NEED_IDMAPD=$/NEED_IDMAPD=YES/' /etc/default/nfs-common
mkdir -p /embedded/raspbian
echo "$SERVERADDRESS:/embedded/raspbian /embedded/raspbian nfs rw 0 0" >> /etc/fstab
/etc/init.d/rpcbind restart
/etc/init.d/nfs-common restart
mount -a

OpenWRT client

modprobe nfsv3
modprobe nfs
mkdir -p /embedded/openwrt
mount.nfs $SERVERADDRESS:/embedded/openwrt /embedded/openwrt -o nolock
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies