How to know which client is locking which NAS file
Applies to
- ONTAP 9
- NAS
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 locksAVAILABILITY - 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