Can you delete a SnapLock Audit Log volume prior to its SnapLock expiry date?
Applies to
- ONTAP 9.x
- SnapLock Enterprise and Compliance
- Amazon FSx for NetApp
Answer
- No, the SnapLock Audit Log is required to log any ONTAP Operations done to Compliance Data.
- The minimum retention period for a SnapLock audit log volume is six months. Until this retention period expires you cannot delete the SnapLock audit log volume, the storage virtual machine (SVM), or the file system that's associated with the SVM, even if the volume is created in SnapLock Enterprise mode.
- The privilege delete feature is permanently disabled by default for SnapLock audit log volumes.
permanently-disabledis the terminal state. It cannot be enabled after it is set the state topermanently-disabled.
Additional Information
- If we create a snaplock volume and modify the retention period of volume, enable snaplock audit log on same snaplock volume then snaplock log will inherit snaplock volume retention period and volume can be deleted after reaching the expiry time:
- If we create a snaplock volume and doesn't modify the retention period and make the same volume as snaplock audit log then by default it will take 6 months retention-period and in that case volume can not be deleted as its not meet the retention period when trying to delete a volume.
- If a file is deleted using privileged delete and its retention period is longer than the retention period of the volume, then the audit log volume inherits the file's retention period.
- Example: if a file that has a retention period of 10 months is deleted using privileged delete and the retention period of the audit log volume is six months, the retention period of the audit log volume is extended to 10 months.
- SnapLock Create an audit log
- Enable the privileged delete feature
