Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
share mac directory with rpi via nfs
ssh <sudoer>@<server>
sudo su -
mkdir -p <share-starting-at-/>
cat > /etc/exports <<EOF
# /path options clients
<share-starting-at-/> -network -mask
ssh pi@raspberrypi
mkdir -p <mountpoint>
sudo su -
cat >> /etc/fstab <<EOF
<server-ip>:<share-starting-at/> <mountpoint> nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
sudo aptitude install nfs-common portmap
sudo service rpcbind start
# or
mount <server-ip>:<share> <mountpoint>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.