Skip to main content
NetApp Knowledgebase

How does the NFSv4 grace periods work?

Views:
249
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nfs
Last Updated:

Applies to

  • ONTAP 9
  • NFSv4 and NFSv4.1

Answer

There are two NFSv4 related grace periods:

  1. When an interface is moved to another node, NFSv4 clients can reclaim locks for the duration specified by the -v4-grace-seconds NFS option.
  2. When an aggregate is relocated to another node, NLM lock reclamation takes place for the duration specified by the locking.grace_lease_seconds node option.

During either of these periods, NFSv4 clients cannot obtain new locks.

Additional Information

After a takeover, the two periods may overlap.

On a giveback, interfaces are reverted before aggregates are relocated and both periods may be observed individually.

Depending on the timing of how clients retry NFS calls, client applications may experience longer I/O delays than the grace periods themselves.