Table of Contents

Raspberry Pi NFS - Mount FreeNAS from RPi via NFS

Prepare RPi for FreeNAS

Create a new group to match the group ID of files

sudo groupadd -g 1001 home
sudo usermod -a -G home pi

Mount Windows share from Raspberry Pi

sudo mount -t cifs //192.168.100.150/Home /home/pi/nas-sandbox/ -o guest

Setup FreeNAS NFS Share

Map all users (Mapall User) “root” and all user groups (Mapall Group) to “home”.

Mount NFS share from Raspberry Pi

To mount NFS server by hand…

sudo mount -t nfs  192.168.100.150:/mnt/VolumeZ/HomeZ/sandbox /home/pi/sandbox -o defaults

For some reason vi swap files are jacked up. Run “vi -n” to suppress swap file creation.

Put mount info in /etc/fstab to make mounting easier.

192.168.100.150:/mnt/VolumeZ/HomeZ/sandbox /home/pi/sandbox nfs defaults 0 0

Then just issue a mount command.

sudo mount /home/pi/sandbox