Skip to main content
NetApp Knowledge Base

Weblogic application using NFSv4 fails with error "NFS4 error: NFS4ERR_STALE"

Views:
1,030
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9.7P6
  • Solaris 11.4
  • Weblogic version 12.2.1.3
  • Unix Security style Volume

Issue

  • Weblogic application fails.
  • Failure is seen on the Client kernel logs. 
  • The Error "NFS4ERR_STALE" indicates that the file system object referred to by that filehandle no longer exists, or access to it has been revoked.
Client kernel logs :
Oct 19 12:47:21 client02 nfs: [ID 220977 kern.info] NOTICE: [NFS4][Server: 172.x.x.x][Mntpt: /mnt01]NFS op OP_LOCK got error 4 causing recovery action NR_LOST_LOCK.
Oct 19 12:47:21 client02 nfs: [ID 814820 kern.info] NOTICE: [NFS4][Server: 172.x.x.x][Mntpt: /mnt01]Lost OP_LOCK request for fs /mnt01, file ./xxx/xxxxx/xxx/12c/user/xxxx/config.lok (rnode_pt: 0xffffa1c028d2a970), dir <null string> (0x0) for server 172.x.x.x
Oct 19 12:47:21 client02 nfs: [ID 581112 kern.info] NOTICE: [NFS4][Server: 172.x.x.x][Mntpt: /mnt01]NFS Starting recovery for mount /mnt01 (mi 0xffffa1c01e80f500 mi_recovflags [0x0]) on server 172.x.x.x, rnode_pt1 ./xxx/xxxxx/xxx/12c/user/xxxx/config.lok (0xffffa1c028d2a970), rnode_pt2 <null string> (0x0)
Oct 19 12:47:21 client02 nfs: [ID 286389 kern.info] NOTICE: [NFS4][Server: 172.x.x.x][Mntpt: /mnt01]File ./xxx/xxxxx/xxx/12c/user/xxxx/config.lok (rnode_pt: ffffa1c028d2a970) was closed due to NFS recovery error on server 172.x.x.x(failed to recover stale file handle )
Oct 19 12:47:21 client02 nfs: [ID 941083 kern.info] NOTICE: NFS4 FACT SHEET: 
Oct 19 12:47:21 client02  Action: NR_LOST_LOCK 
Oct 19 12:47:21 client02  NFS4 error: NFS4ERR_STALE   
Oct 19 12:47:21 client02 nfs: [ID 311268 kern.info] NOTICE: [NFS4][Server: 172.x.x.x][Mntpt: /mnt01]Process 1306 lost its locks on file ./xxx/xxxxx/xxx/12c/user/xxxx/config.lok (rnode_pt: ffffa1c028d2a970) due to NFS recovery error (5) on server 172.x.x.x.

 

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.