Skip to main content
NetApp Knowledge Base

AIX client is unable to lock a file that was previously locked by the same client

Views:
536
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nfs
Last Updated:

Applies to

  • ONTAP 9
  • AIX 6.1 TL8
  • AIX 6.1 TL9
  • AIX 7.1 TL0

Issue

AIX clients report lock errors when attempting to lock a file. The file was previously locked by the same client/process without error.

If the client is running Oracle, the following errors might be reported:
Errors in file /mnt/oracle/udump/ora_20054240.trc:
ORA-01157: cannot identify/lock data file 201 - see DBWR trace file
ORA-01110: data file 201: '/mnt/oracle/tmp/XBR_TEMP01.dbf'

ORA-00210: cannot open the specified control file
ORA-00202: control file: '/mnt/oracle/control/control01.ctl'
ORA-27086: unable to lock file - already in use IBM AIX RISC System/6000 Error: 13: Permission denied Additional information: 8 Additional information: 57147422

A packet trace will show that the storage system is responding to NLM LOCK calls (nlm.procedure_v4 == 2) with the error NLM_DENIED (nlm.stat == 1). The issue will occur following a storage system failover, upgrade, node reboot, or any similar behavior that results in a NFS server state change.

 

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

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device