How to remount drives which lost connection?
Little Girl
littlergirl at gmail.com
Sat Jun 11 20:59:06 UTC 2022
Hey there,
Bo Berglund wrote:
>This Mint device seems to sometimes lose connection to an nfs share
>on the main LAN defined in fstab as follows:
>
>192.168.119.216:/home/bosse/www/VIDEO /mnt/video nfs tcp,noexec,intr
>0 0
[SNIP]
>I understand that I could for instance put an entry in crontab that
>will run the sudo mount -a command at say 3 minutes following a
>reboot, but it would be better if there is some existing argument or
>such that can provide the functionality....
Adding the "hard" option to your /etc/fstab line will make NFS keep
trying when the connection isn't available:
https://web.mit.edu/rhel-doc/5/RHEL-5-manual/Deployment_Guide-en-US/s1-nfs-client-config-options.html
You might also want to poke around in the nfs, fstab, and mounts man
pages for a whole lot of choices we're given for how NFS should be
allowed to behave.
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list