Re: More than 40 minutes to delete an obj tree?

From: Michael Grimm <trashcan_at_ellael.org>
Date: Sat, 17 Jan 2026 13:06:11 UTC
Toomas Soome <tsoome@me.com> wrote:

>> Is it normal that it takes so much real time to cleanup a universe build
>> these days or is that a ZFS tuning issue?  It feels a bit excessive.
> 
> For workaround, zfs destroy should be a bit faster than rm -rf (unless there is deduplication involved….).

I don't consider this a workaround because it is much faster ;-)

In my case a clean /usr/obj takes seconds by:
	zfs destroy -r zp0/_obj
	zfs create -o mountpoint=/usr/obj zp0/_obj

YMMV,
Michael