ZFS – Removing all snapshots

To list all of your current snapshots;

zfs list -t snapshot

This is a handy script to remove all snapshots….

for snapshot in `zfs list -H -t snapshot | cut -f 1`
do
zfs destroy $snapshot
done

As always : at your own risk. ;)

141 Replies to “ZFS – Removing all snapshots”

  1. You really make it seem so easy with your presentation but I find this topic to be really something that I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I’ll try to get the hang of it!

  2. I simply couldn’t depart your website prior to suggesting that I really enjoyed the standard information an individual supply in your visitors? Is gonna be back incessantly to check out new posts

  3. We are a group of volunteers and opening a new scheme in our community. Your web site provided us with valuable info to work on. You have done a formidable job and our whole community will be thankful to you.

  4. Thanks for some other informative web site. Where else may just I am getting that type of information written in such an ideal manner? I’ve a challenge that I am simply now operating on, and I have been at the look out for such info.

  5. Nice blog right here! Additionally your site quite a bit up fast! What web host are you the use of? Can I get your associate link on your host? I want my site loaded up as quickly as yours lol

  6. Wow, wonderful blog structure! How lengthy have you ever been blogging for? you make running a blog look easy. The full glance of your site is excellent, let alone the content!

  7. Thank you for some other fantastic post. The place else may just anyone get that type of info in such an ideal approach of writing? I have a presentation subsequent week, and I am at the search for such information.

  8. Great ¡V I should certainly pronounce, impressed with your web site. I had no trouble navigating through all tabs as well as related info ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or something, site theme . a tones way for your client to communicate. Excellent task..

  9. My husband and i ended up being very fortunate that Peter could do his research while using the ideas he obtained using your web page. It’s not at all simplistic to simply be giving for free concepts which usually some others might have been selling. So we understand we have the website owner to be grateful to for this. All of the illustrations you’ve made, the simple website menu, the friendships you assist to promote – it is mostly sensational, and it’s leading our son in addition to the family do think the matter is excellent, which is highly essential. Thank you for everything!

  10. My husband and i ended up being absolutely lucky when Ervin managed to round up his studies out of the ideas he obtained from your web pages. It’s not at all simplistic to just possibly be handing out helpful hints that some others may have been making money from. And now we take into account we need you to give thanks to for this. The main illustrations you have made, the simple blog menu, the friendships you can help to engender – it is everything fabulous, and it’s assisting our son in addition to our family recognize that this topic is brilliant, which is certainly really mandatory. Thank you for all!

  11. My spouse and i ended up being really cheerful when Louis managed to do his basic research from your precious recommendations he made through the weblog. It is now and again perplexing to simply find yourself freely giving ideas which usually many people may have been trying to sell. So we fully grasp we need the writer to give thanks to because of that. All the explanations you’ve made, the straightforward website navigation, the friendships you will help to engender – it is mostly fabulous, and it is aiding our son and our family know that the article is exciting, which is certainly rather important. Thank you for the whole lot!

  12. I think other site proprietors should take this web site as an model, very clean and excellent user genial style and design, as well as the content. You’re an expert in this topic!

  13. A person essentially lend a hand to make seriously articles I would state. That is the very first time I frequented your web page and thus far? I amazed with the analysis you made to create this actual put up amazing. Fantastic job!

  14. I think this is one of the most important information for me. And i am glad reading your article. But want to remark on few general things, The web site style is ideal, the articles is really excellent : D. Good job, cheers

  15. I am really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it’s rare to see a nice blog like this one these days..

  16. I simply want to say I am just all new to weblog and definitely liked you’re web site. Very likely I’m going to bookmark your blog post . You certainly have beneficial articles. Regards for revealing your blog.

  17. I actually wanted to post a message to be able to express gratitude to you for all of the stunning hints you are writing at this site. My time consuming internet lookup has now been compensated with beneficial content to talk about with my pals. I ‘d say that many of us website visitors actually are very endowed to exist in a remarkable site with so many wonderful people with interesting strategies. I feel rather happy to have seen the web page and look forward to plenty of more enjoyable times reading here. Thanks a lot again for a lot of things.

  18. Wow! Thank you! I permanently wanted to write on my website something like that. Can I take a fragment of your post to my site?

  19. I simply want to say I am newbie to weblog and honestly liked you’re web blog. More than likely I’m planning to bookmark your blog . You actually have outstanding stories. Bless you for sharing with us your web-site.

  20. Wow! This can be one particular of the most helpful blogs We’ve ever arrive across on this subject. Actually Great. I’m also an expert in this topic so I can understand your effort.

  21. Thanks for sharing superb informations. Your website is very cool. I am impressed by the details that you have on this blog. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for more articles. You, my friend, ROCK! I found just the info I already searched all over the place and simply could not come across. What an ideal web-site.

  22. Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I acquire in fact enjoyed account your blog posts. Anyway I will be subscribing to your feeds and even I achievement you access consistently fast.

  23. Thank you for the sensible critique. Me and my neighbor were just preparing to do a little research about this. We got a grab a book from our area library but I think I learned more clear from this post. I’m very glad to see such fantastic information being shared freely out there.

  24. Thanks for sharing excellent informations. Your website is so cool. I’m impressed by the details that you¡¦ve on this site. It reveals how nicely you perceive this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found just the info I already searched all over the place and simply could not come across. What a perfect website.