[CentOS] how to unmount an NFS share when the NFS server is unavailable?

Wed Jan 26 12:31:37 UTC 2011
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Wed, 26 Jan 2011, Rudi Ahlers wrote:

> That won't really work. The NFS clients run cPanel and we need a way
> for end-users to have full access to their backups all the time. We
> used to run backup over FTP, but then when a client wanted to restore
> data one of the techs first had to download it from the backup server
> and then let the client restore it. So I'm trying to cut down on
> unnecessary support tasks.

Double check that autofs isn't what you want, as I suspect you're wrong in
discounting it.  With autofs, a user is free to access files in a currently
unmounted nfs path, as autofs will mount it dynamically as required.  But it
generally copes a lot better than just static NFS mounts.