ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • volume file privileged-delete

    Perform a privileged-delete operation on unexpired WORM files on a SnapLock enterprise volume

    Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

    Description

    The ` volume file privileged-delete ` command is used to perform a privileged-delete operation on unexpired WORM files on a SnapLock enterprise volume. The only built-in role that has access to the command is "vsadmin-snaplock" .

    Parameters

    -vserver <vserver name> - Vserver

    Specifies the Vserver which hosts the SnapLock enterprise volume.

    -file </vol/<volume name>/<file path>> - File Path

    Specifies the absolute path of the file to be deleted. The value begins with /vol/<volumename>.

    Examples

    The following example deletes the unexpired WORM file "/vol/vol1/wormfile" . The file wormfile is stored in volume vol1 under Vserver vserver1 .

    vserver1::> volume file privileged-delete -file /vol/vol1/wormfile
         [Job 76] Job succeeded: Privileged-delete of File "vs1:/vol/sle_vol1/wormfile" Completed.
    Top of Page