Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2023 07:25:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271480] background fsck_ffs fails due to improper attempts to update directory depth
Message-ID:  <bug-271480-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271480
           Summary: background fsck_ffs fails due to improper attempts to
                    update directory depth
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: andrew@tao11.riddles.org.uk

The directory depth tracking code in fsck_ffs attempts to write to the
(read-only) device when doing fsck -B, leading to failure:

/dev/label/scratch: DIRECTORY I=3D802562  OWNER=3Droot MODE=3D40755
/dev/label/scratch: SIZE=3D512 MTIME=3DMay 18 07:17 2023  DEPTH 3 SHOULD BE=
 2
(ADJUSTED)
/dev/label/scratch: SETTING DIRTY FLAG IN READ_ONLY MODE

/dev/label/scratch: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY.

--=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-271480-227>