[ClusterLabs] NFS Failover - client hangs

Michael Schwartzkopff ms at sys4.de
Mon Jun 22 09:12:48 UTC 2015


Am Montag, 22. Juni 2015, 10:51:16 schrieb Marco Marino:
> Hi,
> I'm building an nfs server with drbd and pacemaker on CentOS 6.5 and i have
> some questions related to the failover. In my installation after a
> simulated failover, clients hangs for a random time (between few seconds
> and 140 seconds) before commands like "ls" or "touch" became responsive.
> This happens also if I use nfsvers=3 on clients. Why this happens? How can
> manage this case for reduce this time?
> Following the guide on the linbit site ("Nfs on rhel 6") on chapter 11
> there are some failover tests and it should works without this kind of
> problems.
> 
> Thanks,
> MM

Looks like your server waits for the lease / grace timeout. Please see:

https://access.redhat.com/solutions/42868

or goole for "nfsv4 lease timeout"

The options grace / least timeout can be configured as agent parameters. Lower 
it according to your needs.

Mit freundlichen Grüßen,

Michael Schwartzkopff

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20150622/e8778e28/attachment-0004.sig>


More information about the Users mailing list