[Bug 106107] UFS: fsck_ffs: left-over fsck_snapshot after unfinished background fsck if filesystem clean

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Feb 2023 22:11:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=106107

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #8 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Kirk McKusick from comment #7)

Mostly an FYI that there might still be an oddity possible.

Context:
# uname -apKU
FreeBSD amd64_UFS 14.0-CURRENT FreeBSD 14.0-CURRENT #61
main-n261026-d04c86717c8c-dirty: Sun Feb 19 15:03:52 PST 2023    
root@amd64_ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/sys/GENERIC-NODBG
amd64 amd64 1400081 1400081

I booted this system and the "df -m" listed 57% Capacity
but my du -xsm /* listed more like a 3rd of the capacity
(totals of the lines). The du result was more like
expected. (Note: This system is normally booted and uses
a distinct ZFS media, so today's activity was the first
UFS media use in some days.)

Turned out there was a /.snap/fsck_snapshot roughly matching
the du -xsm /* total. "ls -Tld" indicated today's date on
the /.snap/fsck_snapshot .

I removed the file after a while (no evidence of it being in
use noticed) and rebooted and it did not return. The removal
resulted in "df -m" reporting 29% Capacity, both before and
after the reboot, more like expected.

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