Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2023 22:11:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 106107] UFS: fsck_ffs: left-over fsck_snapshot after unfinished background fsck if filesystem clean
Message-ID:  <bug-106107-3630-SXBlYueQnz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-106107-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-106107-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D106107

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=20=20=20=20
root@amd64_ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.am=
d64/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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-106107-3630-SXBlYueQnz>