使用NFSv4的WebLogic应用程序失败、并显示错误"NFS4 error:NFS4ERR_STALE"
适用场景
- 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.