You can delete all snapshots on a volume (I assume this is 7mode) with the –a option.

 

Example:

Filer> snap delete -a vol0

Are you sure you want to delete all snapshots for volume vol0? y

Deleted vol0 snapshot hourly.5.

Deleted vol0 snapshot nightly.1.

Deleted vol0 snapshot hourly.4.

Deleted vol0 snapshot hourly.3.

Deleted vol0 snapshot hourly.2.

Deleted vol0 snapshot hourly.1.

Deleted vol0 snapshot nightly.0.

Deleted vol0 snapshot hourly.0.

 

From: toasters-bounces@teaparty.net [mailto:toasters-bounces@teaparty.net] On Behalf Of Mark Flint
Sent: Tuesday, March 03, 2015 11:26 AM
To: <Toasters@teaparty.net>
Subject: 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!

 

 

~Mark


mark.flint@sanger.ac.uk