Having a hard time searching for this. most likely because im new to scripting things and dont know exactly what im searching for.
I have an nfs share (mapped with UD). That external device is turned on via a WOL script in my user script that manages backups via rsync.
etherwake [mac-address-here] && echo "NAS not turned on. WOL sent to NAS"
After all backups have completed and some time has passed, the BackupNAS is turned off at a specific date/time from the webgui (synology)
UD thinks its still connected and i constantly get these warning messages. And while they arent neccessarily harmful, they fill up the log and i dont see any real warnings or messages.
Dec 12 08:49:28 Tower kernel: nfs: server BackupNAS not responding, timed out
TLDR: What kind of user script or command line can i run to mount the drive when the script is initated? And what script can i run to unmount it (im assuming another userscript / cron job for this one)?
Thanks in advance for the assistance!