Skip to main content
NetApp Knowledge Base

How to know which client is locking which NAS file

Views:
2,599
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • NAS Protocol

Answer

Use vserver locks show command to review the current lock files, and can not review the history entries.
 
NAME  - vserver locks show -- Display current list of locks
 
AVAILABILITY -  This command is available to cluster and Vserver administrators at the admin privilege level.
 
DESCRIPTION
The vserver locks show command displays information about locks. A lock is a synchronization mechanism for enforcing limits on concurrent access to files where many clients can be accessing the same file at the same time. The command output depends on the parameter or parameters specified with the command. If you do not specify any parameters, the command displays the following information about locks:
  • Vserver name
  • Volume name
  • Object path
  • Logical interface name
  • Lock protocol
  • Lock type
  • Client

Additional Information

 

How to break locks via ONTAP CLI 

 

 

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.