From: Boaz Harrosh <bharrosh@panasas.com>
To: Michael Monnerie <lists.michael.monnerie@is.it-management.at>
Cc: <linux-nfs@vger.kernel.org>
Subject: Re: How to make clients NOT block
Date: Sun, 17 Feb 2013 16:35:42 +0200 [thread overview]
Message-ID: <5120EABE.1040207@panasas.com> (raw)
In-Reply-To: <680509590.JPpPf8D3KZ@saturn>
On 02/16/2013 01:30 PM, Michael Monnerie wrote:
> Dear list,
>
> we've had several servers block today because they all have a NFS mount point
> from a linux kernel 3.7.6 server. This is the fstab entry:
>
> 1.1.1.1:/nfsshare/all /shared nfs4 defaults,tcp,intr,relatime,async,acl 0 9
>
> The NFS server crashed and was offline, that made all clients block. Even
> after the NFS server was up again, most clients were stuck to the point they
> had to be rebooted. What mount options should we use so clients don't block
> completely when the NFS server is gone? It's no problem to unmount the NFS
> share, or get errors, but the clients must not stop their work.
>
It's the "-o soft" mount option to mount or fstab. Note that it will unstuck
you at most operations, after a timeout the Applications will receive EIO.
("most", because rarely it'll D state anyway)
Cheers
Boaz
next prev parent reply other threads:[~2013-02-17 14:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-16 11:30 How to make clients NOT block Michael Monnerie
2013-02-17 14:35 ` Boaz Harrosh [this message]
2013-02-17 20:49 ` J. Bruce Fields
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5120EABE.1040207@panasas.com \
--to=bharrosh@panasas.com \
--cc=linux-nfs@vger.kernel.org \
--cc=lists.michael.monnerie@is.it-management.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox