I'm running rancheros - with ubuntu as the console.
I have an issue where my NAS takes about 5min to come up after load shedding, and my docker server takes about 4min.
In my RancherOS startup script I run a couple of mount commands to mount various NAS shares - but with the NAS not up yet, it just leaves the mount point as is. This then causes problems with any downloads, motion capture, etc - downloading to the server instead of the NAS.
I'm trying to get the server to reload the shares after a specific up-time - but not coming right - if I run mount -a, it doesn't reload the shares. Any tips or ideas on how to get the startup script to either wait x interval before loading the shares, or to keep trying until it finds a specific file in one of the shares?
I have an issue where my NAS takes about 5min to come up after load shedding, and my docker server takes about 4min.
In my RancherOS startup script I run a couple of mount commands to mount various NAS shares - but with the NAS not up yet, it just leaves the mount point as is. This then causes problems with any downloads, motion capture, etc - downloading to the server instead of the NAS.
I'm trying to get the server to reload the shares after a specific up-time - but not coming right - if I run mount -a, it doesn't reload the shares. Any tips or ideas on how to get the startup script to either wait x interval before loading the shares, or to keep trying until it finds a specific file in one of the shares?