[Bug 290205] ZFS: file stuck in delete queue

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Sep 2026 16:32:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290205

--- Comment #7 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Yet another idea, given an active / context:

Note: an implicit new (temporary?) snapshot is involved in the create

# bectl create defaultCleaned # Would -r be appropriate for the context?
# bectl list # defaultCleaned should not show the extra space if checked
. . .
# bectl activate defaultCleaned
# shutdown -r now # But might /etc/fstab have default explicitly referenced?
. . .
# bectl destroy -Fo default # Possibly just -o ?
# bectl rename defaultCleaned default

The -o for the destroy should also delete the old snapshot that 
might also reference the non-deleted space.

Non-BE datasets could have an analogous sequence: clone based 
on a new (temporary) snapshot, switch usage, destroy [including 
old snapshot(s)], restore name.

-- 
You are receiving this mail because:
You are the assignee for the bug.