linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFSv4 grace time
@ 2011-07-21 13:40 Michael Schwartzkopff
  2011-07-22 11:07 ` Jeff Layton
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Schwartzkopff @ 2011-07-21 13:40 UTC (permalink / raw)
  To: linux-nfs@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

Hi,

setting up a linux NFS server cluster I experience a strange problem during a 
failover. A client can access a file only after 60 to 90 seconds. On the line I 
see a NFS4ERR_GRACE from the server to the client.

I already set the /proc/fs/nfsd/nfsv4leastime to 10.

Any other idea?

For the tests I have a simple setup:

One host with a simple script that simulates failover:

#!/bin/bash

ip a d 1.2.3.4/24 dev eth0
exportfs -u *:/srv/nfs/home
exportfs -u *:/srv/nfs
/etc/init.d/nfsserver stop
#
/etc/init.d/nfsserver start
exportfs -o fsid=0,rw,crossmnt,no_root_squash *:/srv/nfs
exportfs -o fsid=1000,rw,mountpoint,no_root_squash *:/srv/nfs/home
ip a a 1.2.3.4/24 dev eth0

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Fax: (089) 620 304 13

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-22 17:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-21 13:40 NFSv4 grace time Michael Schwartzkopff
2011-07-22 11:07 ` Jeff Layton
2011-07-22 11:24   ` Michael Schwartzkopff
2011-07-22 11:41     ` Jeff Layton
2011-07-22 17:16       ` J. Bruce Fields

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).