[ubuntu-za] how to unmount an NFS share when the NFS server is unavailable?

Jonathan Hitchcock jonathan.hitchcock at gmail.com
Wed Jan 26 08:57:29 UTC 2011


Hi,

On Wed, Jan 26, 2011 at 10:50, Rudi Ahlers <Rudi at softdux.com> wrote:

> How does one mount an NFS share, to avoid system timeouts when the
> remove NFS server is offline?
>

NFS is not designed to work well when the remote NFS server is offline.
 Filesystems that can't access their own files don't have much choice in
what to do.  Saying "that file doesn't exist" would be incorrect.  It could
just return errors if it can't access the files, but it's difficult to tell
the difference between "unable to access" and "accessing, but very very
slowly (because of a slow network)".  So the only thing to do is to try and
access, and then after a certain amount of time, decide that it's too slow
(or not happening at all), and give a timeout.

If your remote server frequently goes offline, stop using NFS.   Or stop the
remote server going offline...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20110126/b3222bac/attachment-0001.html>


More information about the ubuntu-za mailing list