Resetting zfs snapshots

Steve O'Hara-Smith steve at
Fri Feb 23 07:52:27 UTC 2018

On Thu, 22 Feb 2018 16:29:58 -0500
"James B. Byrne via freebsd-questions" <freebsd-questions at>

> I am in the process of setting up a new FreeBSD server which involves
> transferring a large amount of data onto.  The system was installed
> with root zfs and snapshots were initialised immediately.
> Several iterations of test data transfer and deletes has now resulted
> in snapshots exceeding 64 Gb.  I wish to effectively restart/rebase
> snapshots following the final transfer and eliminate all previous
> ones.

	I use this to delete all snapshots when I want to clean them up.

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

Steve O'Hara-Smith <steve at>

More information about the freebsd-questions mailing list