Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

How does the NFSv4 grace periods work?

Views:
684
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. the NFSv3 accessing will be affected also.

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.

 

Scan to view the article on your device