I have a couple of RPi units (RPi2B and RPi3B+) which have USB connected hard drives attached.
These are automatically mounted on startup via /etc/fstab
On both I have setup a samba share on the root of the USB drive with rw permissions.
On an Ubuntu 18 server I mount these shares so I can copy over large files via the network easily.
These mounts are also defined in /etc/fstab and they are mounted when the Ubuntu server starts up.
Now I have a hen-and-egg problem:
If one or both of the RPi boxes are not present on the network when the Ubuntu server starts up then the fstab mount fails and the share is inactive...
Is there any way except by restarting the Ubuntu server to establish the mount when the RPi is again running?
I don't want to restart because the Ubuntu machine is used for other purposes too, like being a SVN server...