Hi.
I'm having problems with NFS Server on OpenWrt 19.07.7 (ZBT-WE826).
I've followed the installation procedures as outlined here and have successfully created shares in tmp directory. I can also mount these shares on my Mac no problem.
However, any attempt to create a share on any other directory (e.g. /mnt ) fails.
For instance, if I follow the "Server Configuration" procedures as outlined in the above documentation, with /etc/exports set (for /mnt and /mnt/sda1) as documented (but with corrected IP address), I get:
- "exports -ra" returns "exportfs: /mnt/sda1 does not support NFS export", and exports: /mnt does not support NFS export"
- Any attempt to mount sda1 on a client fails with "Permission Denied"
I do not think the issues is a permission issue, but a filesystem issue. I can successfully create a share if the filesystem is tmpfs, but fails for overlayfs.
I also wonder if this is the same issue as reported here (albeit for 19.07 instead of 21.02)
Has anyone successfully shared files from mnt or any overlayfs filesystem on 19.07.7?