From owner-freebsd-stable@FreeBSD.ORG Wed Jan 19 15:08:12 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EB6316A4CE; Wed, 19 Jan 2005 15:08:12 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C552743D53; Wed, 19 Jan 2005 15:08:11 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from localhost (localhost [127.0.0.1])AB9A24F8B3; Wed, 19 Jan 2005 16:08:09 +0100 (CET) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30208-01-6; Wed, 19 Jan 2005 16:08:09 +0100 (CET) Received: from m2a2.dyndns.org (p54854A51.dip.t-dialin.net [84.133.74.81]) B6A974CB53; Wed, 19 Jan 2005 16:08:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 7BB11777E3; Wed, 19 Jan 2005 16:08:08 +0100 (CET) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05127-04; Wed, 19 Jan 2005 16:08:07 +0100 (CET) Received: by merlin.emma.line.org (Postfix, from userid 500) id A1052777E4; Wed, 19 Jan 2005 16:08:07 +0100 (CET) From: Matthias Andree To: Matthias Andree In-Reply-To: (Matthias Andree's message of "Wed, 19 Jan 2005 14:49:40 +0100") References: Date: Wed, 19 Jan 2005 16:08:07 +0100 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: freebsd-scsi@freebsd.org cc: freebsd-stable@freebsd.org cc: re@freebsd.org Subject: Re: 4.11-RC3: SCSI+UFS+softupdates corruption (write cache DISABLED!) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 15:08:12 -0000 Matthias Andree writes: > so apparently, three (checkouts.cvs:., . and ..) or four files (perhaps > the # file) have disappeared. I'm not sure if fsck will revive them, I > want to avoid destroying data useful for debugging. OK, I dd'd the whole partition to an SLR tape and ran fsck for interactive repairs. | ** /dev/da0s1g | ** Last Mounted on /usr | ** Phase 1 - Check Blocks and Sizes | ** Phase 2 - Check Pathnames | DIRECTORY CORRUPTED I=175105 OWNER=root MODE=40755 | SIZE=512 MTIME=Jan 18 15:14 2005 | DIR=? | | UNEXPECTED SOFT UPDATE INCONSISTENCY | | SALVAGE? [yn] y | | MISSING '.' I=175105 OWNER=root MODE=40755 | SIZE=512 MTIME=Jan 18 15:14 2005 | DIR=? | | UNEXPECTED SOFT UPDATE INCONSISTENCY | | FIX? [yn] y | | MISSING '..' I=175105 OWNER=root MODE=40755 | SIZE=512 MTIME=Jan 18 15:14 2005 | DIR=/sup/ports-all | | UNEXPECTED SOFT UPDATE INCONSISTENCY | | FIX? [yn] y | | ** Phase 3 - Check Connectivity | ** Phase 4 - Check Reference Counts | UNREF FILE I=176801 OWNER=root MODE=100644 | SIZE=14098161 MTIME=Jan 18 15:14 2005 | RECONNECT? [yn] y | | NO lost+found DIRECTORY | CREATE? [yn] y | | UNREF FILE I=179558 OWNER=root MODE=100644 | SIZE=8327913 MTIME=Mar 20 03:11 2004 | RECONNECT? [yn] y | | ** Phase 5 - Check Cyl groups | FREE BLK COUNT(S) WRONG IN SUPERBLK | SALVAGE? [yn] y | | SUMMARY INFORMATION BAD | SALVAGE? [yn] y | | BLK(S) MISSING IN BIT MAPS | SALVAGE? [yn] y | | 243085 files, 1465923 used, 274252 free (102444 frags, 21476 blocks, 5.9% fragmentation) | | ***** FILE SYSTEM MARKED CLEAN ***** | | ***** FILE SYSTEM WAS MODIFIED ***** Turns out the missing two files ended up in lost+found. Is this a failure mode that is allowed to happen for softupdates? -- Matthias Andree