How to remount drives which lost connection?
Little Girl
littlergirl at gmail.com
Sat Jun 11 23:36:57 UTC 2022
Hey there,
Bo Berglund wrote:
>I created a small script to check the mount and try to repair if it
>does not work:
[SNIP]
>I could call this in a crontab entry running every 10 minutes or
>so... Or 10 min after a reboot...
Probably running it just once ten minutes after rebooting would be
the better option. As an alternative, you might want to consider
Autofs, which is a daemon that would sit there watching and waiting
for loss of connectivity to jump in and remount your shares for you
automatically:
https://help.ubuntu.com/community/Autofs
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list