How do the NFSv4 grace periods work
Applies to
- ONTAP 9
- NFSv4
Answer
There are two NFSv4 related grace periods:
- 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