linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Harald Dunkel <harald.dunkel@aixigo.de>
To: Jeff Layton <jlayton@kernel.org>, linux-nfs@vger.kernel.org
Subject: Re: nfs4_reclaim_open_state: Lock reclaim failed!
Date: Mon, 3 Sep 2018 10:34:02 +0200	[thread overview]
Message-ID: <a5a072db-8624-3f52-867e-c7a612df811f@aixigo.de> (raw)
In-Reply-To: <30d4e07de5d976756857db77ddb17582897ae2bf.camel@kernel.org>

Hi Jeff,

On 8/31/18 1:49 PM, Jeff Layton wrote:
> 
> Hi Harald,
> 
> Usually this means that the client and server have gotten out of sync
> (possibly due to a server reboot), the client has tried to reclaim the
> state it held before but that reclaim failed.
> 

Is this supposed to happen on a server reboot? BTW, all Linux
clients are run with a kernel command line like

	nfs.nfs4_unique_id=6dcc70d4-7481-45b8-a3af-4fef4ea175d0

Each client has its own uuid, of course, hardwired at install time
in the grub configuration.

> Determining why that happened is is difficult from the info you have
> here. Is your server being restarted regularly? What version of NFS are
> you using to mount?
> 

No, usually we have uptimes of several months for the NFServers.
Its NFS4 (4.2):

# grep -i nfs /proc/mounts
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
nfs-data:/space/data /data nfs4 rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=172.19.96.122,local_lock=none,addr=172.19.96.205 0 0
nfs-data:/space/home /home nfs4 rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=172.19.96.122,local_lock=none,addr=172.19.96.205 0 0

> v4.9 is pretty old at this point as well, you may want to try a newer
> kernel on the client and see if it behaves better.
> 

I am bound to the versions included in Debian 9. Currently it is
kernel 4.9.110-3+deb9u4 on both client and server. Not to mention
that we are also running hosts with Solaris 10 and 11, AIX 6.1 and
7.1, RedHat EL 5 to 7. NFS has to be rock-solid for our needs. Its
difficult to move to a newer kernel for some trial and error.

Would you recommend to stick with NFS 4(.0) or NFS 3, avoiding the
new code in NFS 4.{1,2}? Which NFS version in 4.9 or another LTS
kernel suits best for production use?


Regards
Harri

  reply	other threads:[~2018-09-03 12:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29  9:09 nfs4_reclaim_open_state: Lock reclaim failed! Harald Dunkel
2018-08-29  9:13 ` Harald Dunkel
2018-08-31 11:49   ` Jeff Layton
2018-09-03  8:34     ` Harald Dunkel [this message]
2018-09-03  9:32       ` Jeff Layton
2018-09-04  7:31         ` Harald Dunkel
2018-09-04 12:11           ` Jeff Layton
2018-08-31 15:41 ` Olga Kornievskaia
2018-09-03  7:48   ` Harald Dunkel
2018-09-03 13:15     ` Olga Kornievskaia

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=a5a072db-8624-3f52-867e-c7a612df811f@aixigo.de \
    --to=harald.dunkel@aixigo.de \
    --cc=jlayton@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).