I'm looking for a way to mount an nfs share on my NAS to my router. The reason for this being that the NAS is already overloaded with stuff and I've setup entware+chrooted debian on merlin's fw to run sonarr. Sonarr is just a grabber and organizer so no issues with downloading files to the NAS, just rename+move.
The issue is that I'm unable to mount the NFS share from my NAS onto my router automatically after boot. I can do it manually after boot, but I need to set it up to remount automatically.
So far I've tried:
1. Editing the /jffs/configs/fstab file and making it wait for network, but it doesn't work (I'm assuming because the NAS is connected to the router)
2. Adding a simple mount command to mount the share in the services-start jffs script but this doesn't work either.
Looking at the log, it seems like statd is loaded at the end, way after services-start, so it might be why the nfs mount fails. I need the mount command to be the LAST thing to run at the end of boot, which script should I put the mount command in? I tried a bunch of different script files like wan-start but, same results.
This works when mounting a samba share, but I want to get nfs to work.
Please advise, I'm still learning and new to this.
The issue is that I'm unable to mount the NFS share from my NAS onto my router automatically after boot. I can do it manually after boot, but I need to set it up to remount automatically.
So far I've tried:
1. Editing the /jffs/configs/fstab file and making it wait for network, but it doesn't work (I'm assuming because the NAS is connected to the router)
2. Adding a simple mount command to mount the share in the services-start jffs script but this doesn't work either.
Looking at the log, it seems like statd is loaded at the end, way after services-start, so it might be why the nfs mount fails. I need the mount command to be the LAST thing to run at the end of boot, which script should I put the mount command in? I tried a bunch of different script files like wan-start but, same results.
This works when mounting a samba share, but I want to get nfs to work.
Please advise, I'm still learning and new to this.
Last edited: