Hi,
I am on v22.03.3, has NFS share enabled. Everything is working untill I add 2nd share in /etc/exports.
/etc/exports:
/mnt/sda1/ *(rw,all_squash,insecure,no_subtree_check,fsid=0)
in client pc(ubuntu 22.10), I can use the following command to mount the NFS share successfully:
sudo mount -t nfs -o vers=4 192.168.10.1:/ /nfs-share
Now I add another share, so the new /etc/exports:
/mnt/sda1/ *(rw,all_squash,insecure,no_subtree_check,fsid=0)
/opt/ *(rw,all_squash,insecure,no_subtree_check,fsid=0)
restart the openwrt,
root@pi4:/# showmount --exports
Export list for pi4:
/opt *
/mnt/sda1 *
if I use the same command on client pc, NFS share mounts ok but it does not show contents from /opt/.
If I use sudo mount -t nfs -o vers=4 192.168.10.1:/opt /nfs-opt, it fails to mount.
Any solution to get both shares working? Thanks