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

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

Views:
494
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nfs
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.

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support

 

  • Was this article helpful?