After several days trying to configure my NFS server and clients I am going to have to ask for some help. I did have all of this set up and working before I had to switch one RasPi to OSMC to enable KODI as a media player.
My set up is this…
Raspberry Pi 2 running OSMC booting from SD with / on 1TB USB HDD. 4TB HDD for media storage and files. Wifi connected to home network (192.168.0.70)
Raspberry Pi B+ running Raspbian Jessie. Wifi connected to home network (192.168.0.86)
Desktop PC running Manjaro. Ethernet connected to network (192.168.0.1)
I was using the Pi B+ as a torrent/file server writing/reading data via NFS share served from the Pi 2 over direct wired connection between the Pi B+ (169.254.166.222) and the Pi 2 (169.254.160.254).
The Pi 2 also serves the NFS share to the Manjaro PC but over the wifi. The idea is to limit the amount of data going over the wifi and allow the torrent server fast read/write to the data HDD.
Pi 2 has this /etc/exports configuration…
/srv/nfs4/4TB-DATA 169.254.166.254/24(rw,sync,no_subtree_check,insecure) 192.168.0.1/24(rw,sync,no_subtree_check,insecure)
Pi B+ has this line in /etc/fstab…
169.254.166.222:/srv/nfs4/4TB-DATA /mnt/4TB-DATA nfs4 user,rw,auto 0 0
Manjaro PC has this in /etc/fstab…
192.168.0.70:/srv/nfs4/4TB-DATA /mnt/4TB-DATA nfs4 rw,users,auto 0 0
When I try to mount the NFS share on the Pi B+ I get this error…
mount.nfs4: access denied by server while mounting 169.254.166.222:/srv/nfs4/4TB-DATA
From Manjaro PC I get this…
mount: 192.168.0.70:/srv/nfs4/4TB-DATA: No such file or directory
I understand you might not be able to help with the Manjaro PC but any pointers to help with the OSMC/Raspbian set up would be greatly appreciated.
If there are any other config files you need to see please ask.