I need to mount shared volumes from various remote servers on my local server which is running Ubuntu Server 10.10. I typically use commands like this to mount the shares:
sudo mount -t cifs //192.168.1.200/RemoteShare local_folder -o username=me,password=mypass
I used Webmin to make these mounts permanent, so they're automatically mounted at startup (not that this machine restarts very often). I'm not averse to terminal commands, but
My problem is that some of the remote servers, and one in particular, are restarted around once a week, disconnecting the shared volume.
Is there any way I can get my server to check for the mounted volume when it's needed and attempt to mount it if it's not already mounted?