Delete all Snapshots from all ZFS Pools

September 17th, 2012 Posted in General

Here’s a quick one-liner I came across to easily delete all ZFS snapshots from all pools at once.

zfs list -H -o name -t snapshot | xargs -n1 zfs destroy

Post a Comment