Hi All,
I had a similar nfs problem and solved it by reformatting the USB flash drive to ext4.
My wrt is RT-AC86U running Asus Merlin version 384.15. USB flash disk is SanDisk Ultra fit 128GB, ID 0781:5583.
The error message found in Systemlogs on the server was:
The USB flash disk was formatted as tfat (not a typo, see wiki), and was happily working under under Samba. Formatting that to ext4 made it working under nfs as well. Just setting fsid= to zero or a small integer did not help.
Note there is some documentation on reformatting disk on Asus Merlin here: https://github.com/RMerl/asuswrt-merlin.ng/wiki/Disk-formatting
My recommendations is:
1) back up all your data as reformatting will wipe them all out
2) stop all the services using the USB (Media server, Samba, nfs,..) under General / USB applications / Servers Centre
3) unmount through GUI under General / Network Map / click relevant USB ( 2.0 | 3.0 ) / Sefalle Remove Disk - on the right
4) reformatting under extX is not listed in gui so I went directly for:
I did not bother re-partitioning the disk as suggested in the above manual. That's an overkill for this purpose.
5) Don't forget starting all the services again.
Note I also remapped uid and gid of my Samba user to match the one present on the nfs network by using
/jffs/scripts/passwd.postconf and /jffs/scripts/group.postconf .
I hope that helps anyone else affected.
Good luck.
I had a similar nfs problem and solved it by reformatting the USB flash drive to ext4.
My wrt is RT-AC86U running Asus Merlin version 384.15. USB flash disk is SanDisk Ultra fit 128GB, ID 0781:5583.
The error message found in Systemlogs on the server was:
Code:
May 5 06:10:02 mountd[1465]: authenticated mount request from 192.168.xxx.xxx:897 for /tmp/mnt/sda1/MyFolder (/tmp/mnt/sda1/MyFolder)
May 5 06:10:02 mountd[1465]: Cannot export /tmp/mnt/sda1/MyFolder, possibly unsupported filesystem or fsid= required
The USB flash disk was formatted as tfat (not a typo, see wiki), and was happily working under under Samba. Formatting that to ext4 made it working under nfs as well. Just setting fsid= to zero or a small integer did not help.
Note there is some documentation on reformatting disk on Asus Merlin here: https://github.com/RMerl/asuswrt-merlin.ng/wiki/Disk-formatting
My recommendations is:
1) back up all your data as reformatting will wipe them all out
2) stop all the services using the USB (Media server, Samba, nfs,..) under General / USB applications / Servers Centre
3) unmount through GUI under General / Network Map / click relevant USB ( 2.0 | 3.0 ) / Sefalle Remove Disk - on the right
4) reformatting under extX is not listed in gui so I went directly for:
Code:
mke2fs -t ext4 -O ^has_journal /dev/sda1
5) Don't forget starting all the services again.
Note I also remapped uid and gid of my Samba user to match the one present on the nfs network by using
/jffs/scripts/passwd.postconf and /jffs/scripts/group.postconf .
I hope that helps anyone else affected.
Good luck.