Breaking locks
-
PDF of this doc site
-
Cluster administration
-
Volume administration
-
Logical storage management with the CLI
-
-
NAS storage management
-
Configure NFS with the CLI
-
Manage NFS with the CLI
-
Manage SMB with the CLI
-
Manage file access using SMB
-
-
-
Security and data encryption
-
Data protection and disaster recovery
-

Collection of separate PDF docs
Creating your file...
When file locks are preventing client access to files, you can display information about currently held locks, and then break specific locks. Examples of scenarios in which you might need to break locks include debugging applications.
The vserver locks break
command is available only at the advanced privilege level and higher. Learn more about vserver locks break
in the ONTAP command reference.
-
To find the information you need to break a lock, use the
vserver locks show
command.Learn more about
vserver locks show
in the ONTAP command reference. -
Set the privilege level to advanced:
set -privilege advanced
-
Perform one of the following actions:
If you want to break a lock by specifying…
Enter the command…
The SVM name, volume name, LIF name, and file path
vserver locks break -vserver vserver_name -volume volume_name -path path -lif lif
The lock ID
vserver locks break -lockid UUID
-
Return to the admin privilege level:
set -privilege admin