You can use the privileged delete feature to delete a WORM file in a SnapLock
Enterprise volume before the expiration date of the file is reached. This functionality is supported only for SnapLock Enterprise volumes.
Before You Begin
You need to configure a
SnapLock log volume before enabling the privileged delete functionality.
The log volume must be a
SnapLock Compliance volume.
Steps
- Configure a SnapLock log volume by using the following command: snaplock log volume volume-name
where volume-name
is the name of the SnapLock
Compliance volume that you want to use for SnapLock logging.
- In the SnapLock Enterprise volume, create a file with a retention period of, for example, 30 years by using the following command: touch -a -t 203811210600 filename
Example
touch -a -t 203811210600
document.txt
The retention period of the document.txt file is set to 30-years.
- Enable privileged delete functionality on the SnapLock Enterprise volume by using the following command: snaplock options volume-name privdel on
- Delete the file by using the following command: snaplock privdel [-f] path
The -f flag allows the command to proceed without interactive confirmation from
the user.
Note: Only a privileged user can perform the privileged delete activity. The user should be part of the "Compliance Administrators" group.
- Check the log entry for this delete operation.