You can delete multiple snapshots of a volume in cDOT at once,
set snap reserve to zero and stop creating snapshost automagically:
snapshot delete -vserver VSERVER -volume VOLUME -snapshot *
volume modify -vserver VSERVER -volume VOLUME -percent-snapshot-space 0
volume modify -vserver VSERVER -volume VOLUME -snapshot-policy none
Hope that helps automating the task ...
Norbert
--
norbert.geissler@siemens.com
Von: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net]
Im Auftrag von Mark Flint
Gesendet: Dienstag, 3. März 2015 17:26
An: <Toasters@teaparty.net>
Betreff: CDOT snapshot thoughts
So, I have a user who want me to turn of snapshots, and delete the old ones, across about 100 areas, all of over 10TB in size. No problem says I…..
then my poor brain starts to think about how I could do this using the available policies. A colleague suggested altering the specific protection
policy applied to these areas, so that the policy has zero snapshots kept, with the thought that it would slowly ‘age them out’. Turns out not, or
that’s the way it looks at the moment. So, I’m left with a couple of options, basically, manually delete all the snapshots via script, and turn off
snapshotting completely on those areas, and reduce the snap reserve to zero…..or hope the policy will do some magic for me overnight.
Anyone think of a better way to do this?
Happy Tuesday!