Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2005 16:08:07 +0100
From:      Matthias Andree <matthias.andree@gmx.de>
To:        Matthias Andree <matthias.andree@gmx.de>
Cc:        re@freebsd.org
Subject:   Re: 4.11-RC3: SCSI+UFS+softupdates corruption (write cache DISABLED!)
Message-ID:  <m3brblqwx4.fsf@merlin.emma.line.org>
In-Reply-To: <m38y6pbkaz.fsf@merlin.emma.line.org> (Matthias Andree's message of "Wed, 19 Jan 2005 14:49:40 %2B0100")
References:  <m38y6pbkaz.fsf@merlin.emma.line.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Andree <matthias.andree@gmx.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3brblqwx4.fsf>