[Bug 290205] ZFS: file stuck in delete queue

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

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

All of the files in the queue have zero links:

# cat /tmp/deleteq | xargs zdb -dddd nucroot/ROOT/default | grep links | uniq
        links   0

Since I don't remember the file names, I tried the following to see if I had
any large file open:

# fstat -f -m / | awk '{print $8} # prints SZ/DV col' | sort -n -r | head -n 1
6288480

That doesn't rule out that the whole queue might be stuck on a smaller file
though, if that's possible at all. But as you pointed out, it's been like this
over multiple reboots and I assume there's no standard way for the kernel to
open a file from the delete queue on boot.

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