Skip to main content
NetApp Knowledge Base

How to know which client is locking which NAS file

Views:
863
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
nas
Last Updated:

Applies to

  • Clustered Data ONTAP 8
  • 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

 

Scan to view the article on your device