From owner-freebsd-current@FreeBSD.ORG Sat Jun 12 13:21:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0A4B16A4CE for ; Sat, 12 Jun 2004 13:21:08 +0000 (GMT) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFCA43D31 for ; Sat, 12 Jun 2004 13:21:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (adsl-63-207-60-35.dsl.lsan03.pacbell.net [63.207.60.35])i5CDBiqE001953 for ; Sat, 12 Jun 2004 09:11:44 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1EF4B520C4; Sat, 12 Jun 2004 06:11:43 -0700 (PDT) Date: Sat, 12 Jun 2004 06:11:42 -0700 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20040612131142.GB43669@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: bg fsck and fs corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 13:21:09 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline phk's sparc panicked while I was using it for package building, and since he had forgotten to disable bg fsck I was reminded again of why I turn it off on all my other systems: twinsun# rm -rf old rm: old/26422/usr/local/lib: Directory not empty rm: old/26422/usr/local: Directory not empty rm: old/26422/usr: Directory not empty rm: old/26422/var/tmp/instmp.laCtQf/lib/perl5/5.8.4/mach/auto/threads: Directory not empty rm: old/26422/var/tmp/instmp.laCtQf/lib/perl5/5.8.4/mach/auto: Directory not empty rm: old/26422/var/tmp/instmp.laCtQf/lib/perl5/5.8.4/mach: Directory not empty rm: old/26422/var/tmp/instmp.laCtQf/lib/perl5/5.8.4: Directory not empty rm: old/26422/var/tmp/instmp.laCtQf/lib/perl5: Directory not empty rm: old/26422/var/tmp/instmp.laCtQf/lib: Directory not empty rm: old/26422/var/tmp/instmp.laCtQf: Directory not empty rm: old/26422/var/tmp: Directory not empty rm: old/26422/var: Directory not empty rm: old/26422: Directory not empty rm: old: Directory not empty twinsun# ls -l old/26422/usr/local/lib total 0 bg fsck noticed the usual softdep problems, but did not report or fix the corruption: [...] Jun 12 07:38:47 twinsun fsck: /dev/da1c: INCORRECT BLOCK COUNT I=4381849 (4 should be 0) (CORRECTED) Jun 12 07:38:47 twinsun fsck: /dev/da1c: INCORRECT BLOCK COUNT I=4381850 (4 should be 0) (CORRECTED) Jun 12 07:38:47 twinsun fsck: /dev/da1c: INCORRECT BLOCK COUNT I=4381853 (4 should be 0) (CORRECTED) Jun 12 07:38:47 twinsun fsck: Note the lack of summary line. I don't know if it was trying to log the more serious corruption but didn't because of a bug, or if it just didn't detect it. Kris --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAywEOWry0BWjoQKURApN/AJoCEvmS+mTPLQjIeP6cXaUQdEGqCwCg60rx XUIuW+VX9tGILshEocqoRJc= =2lgT -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--