How to remount drives which lost connection?

ubuntu at howorth.org.uk ubuntu at howorth.org.uk
Sun Jun 12 19:31:01 UTC 2022


littlergirl at gmail.com wrote:
> 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

hard is the default so adding it won't make any difference, though it
won't do any harm either.

> 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.
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list