Why am I receiving error "check lease failed" on NFSv4 server?
Applies to
- ONTAP 9
- NFS
Answer
- NFS4 uses usernames when responding versus UIDs so we need to translate the UID/GIDs for the owner id and group owner of a directory to get a response. If TCP connection is successful, but we are not able to get any actual queries out, all queries will time out, which is a non-deterministic error, thus ONTAP responds with ERR_DELAY/check lease failed.
- Confirm that name services queries are being sent and received successfully.
Example Error:
05 2024-06-20 14:50:15.391804 10.119.0.189 10.116.63.75 NFS V4 Call (Reply In 706) LOOKUP DH: 0x621709ce/cfstorep2 706 2024-06-20 14:50:15.391971 10.116.63.75 10.119.0.189 NFS V4 Reply (Call In 705) LOOKUP | GETATTR Status: NFS4ERR_DELAY 708 2024-06-20 14:50:15.491445 10.119.0.189 10.116.63.75 NFS V4 Call (Reply In 709) LOOKUP DH: 0x621709ce/cfstorep2 709 2024-06-20 14:50:15.491628 10.116.63.75 10.119.0.189 NFS V4 Reply (Call In 708) LOOKUP | GETATTR Status: NFS4ERR_DELAY 711 2024-06-20 14:50:15.691432 10.119.0.189 10.116.63.75 NFS V4 Call (Reply In 712) LOOKUP DH: 0x621709ce/cfstorep2 712 2024-06-20 14:50:15.691731 10.116.63.75 10.119.0.189 NFS V4 Reply (Call In 711) LOOKUP | GETATTR Status: NFS4ERR_DELAY