Hi,
I have a Nanopi-NEO running FriendlyCore xenial and I'd like to set up it as a NFS server (nanopi server is 192.168.1.241).

Here is my /etc/exports :

Code: Select all

/home/pi/pige   data(ro,no_root_squash,no_subtree_check,fsid=0)

then i try to export, and gives me that error

Code: Select all

sudo exportfs -a
exportfs: /home/pi/pige does not support NFS export

on the client side (192.168.1.240), here's my fstab line:

Code: Select all

192.168.1.241:/home/pi/pige /volume1/pige nfs defaults,ro 0 0

when i try to mount, I get that message :

Code: Select all

sudo mount -a
mount: 192.168.1.241:/home/pi/pige failed, reason given by server: Permission denied
mount: mounting 192.168.1.241:/home/pi/pige on /volume1/pige failed: Bad file descriptor

then, the nanopi's journalctl says :

Code: Select all

Jun 08 21:24:15 nanopige rpc.mountd[3776]: authenticated mount request from 192.168.1.240:810 for /home/pi/pige (/home/pi/pige)
Jun 08 21:24:15 nanopige rpc.mountd[3776]: qword_eol: fflush failed: errno 22 (Invalid argument)
Jun 08 21:24:15 nanopige rpc.mountd[3776]: Cannot export /home/pi/pige, possibly unsupported filesystem or fsid= required


Is that problem is related to the nanopi overlay fs ?
And how can i fix it (activating nfs exports in overlay), or disable overlay ?

thanks,
Y.