Skip to main content
NetApp Knowledge Base

NFSv4 fails with error NFS4ERR_STALE errors on the client

Views:
265
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9 and later
  • NFSv4.x

Issue

  • Failure is seen on the Client kernel logs:

Jul 25 10:42:54.598 host nfs: [ID 698999 kern.notice] NOTICE: [NFS4][Server: 10.xx.xx.1][Mntpt: /mountpoint]NFS op OP_LOOKUP got error NFS4ERR_STALE(70) causing recovery action NR_STALE.
Jul 25 10:42:54.598 host nfs: [ID 698999 kern.notice] NOTICE: [NFS4][Server: 10.xx.xx.1][Mntpt: /mountpoint]NFS op OP_GETATTR got error NFS4ERR_STALE(70) causing recovery action NR_STALE.
Jul 25 10:42:54.598 host nfs: [ID 698999 kern.notice] NOTICE: [NFS4][Server: 10.xx.xx.1][Mntpt: /mountpoint]NFS op OP_LOOKUP got error NFS4ERR_STALE(70) causing recovery action NR_STALE.
Jul 25 10:42:54.598 host nfs: [ID 698999 kern.notice] NOTICE: [NFS4][Server: 10.xx.xx.1][Mntpt: /mountpoint]NFS op OP_GETATTR got error NFS4ERR_STALE(70) causing recovery action NR_STALE.
Jul 25 10:42:54.598 host nfs: [ID 286389 kern.notice] NOTICE: [NFS4][Server: 10.xx.xx.1][Mntpt: /mountpoint]File ././directory1/directory2/folder/file (rnode_pt: 18401939e87d8) was closed due to NFS recovery error on server 10.xx.xx.1(failed to recover stale file handle NFS4ERR_STALE)
Jul 25 10:42:54.598 host nfs: [ID 941083 kern.notice] NOTICE: NFS4 FACT SHEET:
Jul 25 10:42:54.598 host Action: NR_STALE
Jul 25 10:42:54.598 host NFS4 error: NFS4ERR_STALE

  • The Error "NFS4ERR_STALE" indicates that the file system object referred to by that filehandle no longer exists, or access to which has been revoked
  • File does not exist in Ontap when verified using command:

cluster::> file-directory show -vserver svm1 -path /directory1/directory2/folder/file
Error: show failed: The specified path "directory1/directory2/folder/file" cannot be used. Reason: No such file or directory

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.