[Bug 290205] ZFS: file stuck in delete queue

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

--- Comment #15 from Tobias Bengtsson <me@tobiasbengtsson.se> ---
(In reply to Mark Millard from comment #14)

I tried the following and not sure how to proceed; the ORIGIN of default and
defaultCleaned swaps as I promote them, and I cannot destroy the snapshot in
this state unless passing -R. I'm not sure if promoting defaultCleaned followed
by recursive destroy of the zfs snapshot is a good idea?

# bectl create defaultCleaned
# bectl list -a
BE/Dataset/Snapshot                            Active Mountpoint Space Created

default
  nucroot/ROOT/default                         NR     /          39.4G
2026-09-13 19:04

defaultCleaned
  nucroot/ROOT/defaultCleaned                  -      -          8K   
2026-09-13 21:42
    nucroot/ROOT/default@2026-09-13-21:42:49-0 -      -          0    
2026-09-13 21:42

# bectl activate defaultCleaned
Successfully activated boot environment defaultCleaned

# shutdown -r now
...

# zfs list -o name,origin nucroot/ROOT/default
NAME                  ORIGIN
nucroot/ROOT/default  nucroot/ROOT/defaultCleaned@2026-09-13-21:42:49-0

# zfs list -o name,origin nucroot/ROOT/defaultCleaned
NAME                         ORIGIN
nucroot/ROOT/defaultCleaned  -

# zfs promote nucroot/ROOT/default

# zfs list -o name,origin nucroot/ROOT/default
NAME                  ORIGIN
nucroot/ROOT/default  -

# zfs list -o name,origin nucroot/ROOT/defaultCleaned
NAME                         ORIGIN
nucroot/ROOT/defaultCleaned  nucroot/ROOT/default@2026-09-13-21:42:49-0

# zfs list -t snapshot
NAME                                         USED  AVAIL  REFER  MOUNTPOINT
nucroot/ROOT/default@2026-09-13-21:42:49-0   312K      -  39.4G  -

# zfs promote nucroot/ROOT/defaultCleaned

# zfs list -t snapshot
NAME                                                USED  AVAIL  REFER 
MOUNTPOINT
nucroot/ROOT/defaultCleaned@2026-09-13-21:42:49-0   416K      -  39.4G  -

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