ONTAP 9 Manuals ( CA08871-402 )

to Japanese version

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.

About this task

The vserver locks break command is available only at the advanced privilege level and higher. The man page for the command contains detailed information.

Steps
  1. 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.

  2. Set the privilege level to advanced:

    set -privilege advanced

  3. 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

  4. Return to the admin privilege level:

    set -privilege admin

Top of Page