跳转到主内容

使用NFSv4的WebLogic应用程序失败、并显示错误"NFS4 error:NFS4ERR_STALE"

Views:
42
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2008468944</a>
Last Updated:

适用场景

  • ONTAP 9.7P6
  • Solaris 11.4
  • WebLogic版本12.2.1.3.
  • UNIX安全模式卷

问题描述

  • WebLogic应用程序失败。
  • 在客户端内核日志上显示故障。 
  • 错误"NFS4ERR_STALE"表示该文件句柄所引用的文件系统对象不再存在、或者对该文件句柄的访问已被撤消。
客户端内核日志:
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.