Date: Wed, 03 Jun 2020 16:54:39 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246962] fsck_ffs frequently requires multiple runs Message-ID: <bug-246962-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246962 Bug ID: 246962 Summary: fsck_ffs frequently requires multiple runs Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: markj@FreeBSD.org I use a FreeBSD HEAD VM for development, with SU (no journaling) on the root FS. It panics frequently, and often drops me off in single user mode after fsck_ffs returns a non-zero exit status: -- Starting file system checks: /dev/gpt/rootfs: INCORRECT BLOCK COUNT I=3D330657 (8 should be 0) (CORRECTE= D)=20=20=20=20=20 /dev/gpt/rootfs: INCORRECT BLOCK COUNT I=3D330658 (8 should be 0) (CORRECTE= D)=20=20=20=20=20 /dev/gpt/rootfs: INCORRECT BLOCK COUNT I=3D330660 (8 should be 0) (CORRECTE= D)=20=20=20=20=20 /dev/gpt/rootfs: INCORRECT BLOCK COUNT I=3D330661 (8 should be 0) (CORRECTE= D) /dev/gpt/rootfs: INCORRECT BLOCK COUNT I=3D330665 (8 should be 0) (CORRECTE= D)=20=20=20=20=20 /dev/gpt/rootfs: INCORRECT BLOCK COUNT I=3D330666 (16 should be 0) (CORRECT= ED) ... /dev/gpt/rootfs: ZERO LENGTH DIR I=3D727410 OWNER=3Droot MODE=3D41777=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /dev/gpt/rootfs: SIZE=3D0 MTIME=3DJun 3 11:00 2020=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 (CLEARED)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /dev/gpt/rootfs: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 /dev/gpt/rootfs: SUMMARY INFORMATION BAD (SALVAGED)=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /dev/gpt/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED)=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /dev/gpt/rootfs: 51340 files, 1475643 used, 3343995 free (5475 frags, 417315 blocks, 0.1% fragmentation) ***** PLEASE RERUN FSCK *****=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 WARNING: /: reload pending error: blocks 184 files 8=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Automatic file system check failed; help!=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ERROR: ABORTING BOOT (sending SIGTERM to parent)!=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2020-06-03T08:15:42.153887-04:00 init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode -- Then, running fsck_ffs again returns with no errors: -- root@:/ # fsck_ffs -y /=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ** /dev/gpt/rootfs=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ** Last Mounted on /=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ** Root file system=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ** Phase 1 - Check Blocks and Sizes=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 ** Phase 2 - Check Pathnames=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 ** Phase 3 - Check Connectivity=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 ** Phase 4 - Check Reference Counts=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 ** Phase 5 - Check Cyl groups=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 51340 files, 1475643 used, 3343995 free (5475 frags, 417315 blocks, 0.1% fragmentation) ***** FILE SYSTEM MARKED CLEAN *****=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 <boot continues> -- Why does fsck_ffs require a restart here? I know that there is some rc.conf variable I can set to work around this, but it looks like it shouldn't be necessary to begin with. --=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-246962-227>