Skip to main content
NetApp Knowledge Base

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

Views:
906
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
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

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.