Skip to main content
NetApp Knowledge Base

How does the NFSv4 grace periods work?

Views:
2,708
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
NAS
Last Updated:

Applies to

  • ONTAP 9
  • NFSv4

Answer

There are two NFSv4 related grace periods:

  1. When a LIF is moved to another node, NFSv4 clients can reclaim locks for the duration specified in the NFS option -v4-grace-seconds

  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 level option

Note: The NFSv3 access will be affected by this as well.

Note: 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 independently from the time 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.
  • TR-4067 
  • system node run (netapp.com)

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.