Skip to main content
NetApp Knowledge Base

Is it possible to delete a SnapLock Compliance aggregate/Volume?

Views:
2,694
Visibility:
Public
Votes:
2
Category:
snaplock
Specialty:
DP
Last Updated:

Applies to

  • SnapLock
  • ONTAP 9
  • Tamperproof Snapshot (TPS) copies

Answer

Deletion commands on a SnapLock Compliance volume or aggregate only succeeds if all the WORM records and files with specified retention periods have expired and have been removed from the volume, the same applies toTamperproof Snapshot (TPS) copies.

SnapLock Type Snapshot Locking enable (TPS) Can I delete the Volume?
not expired Compliance data true or false  No
not expired Enterprise data false Yes
Any true and not expired snapshots No

Note:  Cloud Volumes ONTAP (CVO) systems have limitations on SnapLock protection due to operating under a "trusted storage administrator" model.  While WORM files or snapshots are protected from alteration or modification, volumes can be deleted by a cluster administrator even if those volumes contain unexpired WORM data.  At the cloud administrator level, volumes can be removed by editing cloud storage directly from the cloud provider.

Additional Information

cluster1::> volume snapshot show -volume SnapshotLock -fields snaplock-expiry-time 
vserver volume       snapshot               snaplock-expiry-time
------- ------------ ---------------------- --------------------
svm1    SnapshotLock hourly.2026-03-09_1705 -
svm1    SnapshotLock locked2027             3/9/2027 12:00:00 +00:00
2 entries were displayed.

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.