Breaking locks
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. The man page for the command contains detailed information.
-
To find the information you need to break a lock, use the
vserver locks show
command.The man page for the command contains detailed information.
-
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