We host snapmirror backups and offer SnapLocked snapshots. So a customer can request 1 years snaplock on their snapshots but they can also cancel the agreement beforehand. Which raises a question of how you would go about deliting a volume with snaplocked snapshots... to my knowlegde you are unable to delete the volume while there are non-expired snapshots on the volume. So one way I could think of was to volume move to another aggregate and simply disconnect the disks physically. It's a hassel and we might never need to, but it is nice to know that there is a way... am I right in my assumptions or are there other ways to go about it?
#Getting rid of volumes with SnapLock'ed snapshots
1 messages · Page 1 of 1 (latest)
That's basically the only supported way you could do it. I hope you factored in the cost of those "trash disks" in your contracts 😉
Are you sure they cannot be zeroed? It's not "enterprise" snaplock, just "normal" snaplock...
I can see that on the volume we have set the "snaplock-type" to "non-snaplock" but "snapshot-locking-enabled" is true. And the snapshots that are locked they are set with a "snaplock-expiry-time"...
If the volume isn't SnapLock but you have locked Snapshots, you are using Tamperproof Snapshots.
https://docs.netapp.com/us-en/ontap/snaplock/snapshot-lock-concept.html
yeah, you're using Tamperproof snapshots... If the aggregate is not SnapLock it should be able to be zeroed.
Right. There are no methods to delete the Snapshots or volume before expiration but re-initializing the storage is not blocked.
so my idea should work then 🙂 Pretty confusing calling a "non-snaplock" snaplocked snapshot a tamperproff snapshot... just to be sure, it's called snaplock in system manager and in the commandline which ever variant you use ?;-) confuses even a "veteran" like me 🙂
It's either called Tamperproof Snapshots or Snapshot Locking but not SnapLock. The technology in the background might be SnapLock but also not 100% since you can wipe a system with Tamperproof Snapshots which you can't do with "real" SnapLock volumes.
As you noticed a volume which contains Tamperproof Snapshots still has the snaplock-type "non-snaplock".
Well... never the less, this is directly from the system manager 😉 Of one of the volume where we have "tamperproff" snapshots enabled.... 😉