From owner-freebsd-stable@FreeBSD.ORG Sun Nov 28 21:25:47 2004 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 8E5DD16A4CE for ; Sun, 28 Nov 2004 21:25:47 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8825843D39 for ; Sun, 28 Nov 2004 21:25:46 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 15738 invoked by uid 65534); 28 Nov 2004 21:25:45 -0000 Received: from pD95D8F14.dip.t-dialin.net (EHLO lofi.dyndns.org) (217.93.143.20) by mail.gmx.net (mp005) with SMTP; 28 Nov 2004 22:25:45 +0100 X-Authenticated: #443188 Received: from [192.168.8.4] (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id iASLPdMo006810 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 28 Nov 2004 22:25:41 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: Peter Jeremy Date: Sun, 28 Nov 2004 22:25:29 +0100 User-Agent: KMail/1.7.1 References: <200411282144.56438.michaelnottebrock@gmx.net> <20041128210746.GN32181@gsmx07.alcatel.com.au> In-Reply-To: <20041128210746.GN32181@gsmx07.alcatel.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2359607.Np88InSshu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411282225.36617.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: freebsd-stable@freebsd.org Subject: Re: help! bad filesystem summary trashes system 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: Sun, 28 Nov 2004 21:25:47 -0000 --nextPart2359607.Np88InSshu Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday, 28. November 2004 22:07, Peter Jeremy wrote: > On 2004-Nov-28 21:44:53 +0100, Michael Nottebrock=20 wrote: > >Somehow my /usr filesystem ended up being corrupted in such a way that > > it's now recognized as 11 terabytes big and with -11tb free... > > What happened beforehand? Was this after a clean shutdown, normal crash, > power failure or what? I can't really tell. I noticed something was wrong when the system started = to=20 hang when trying to bring the network interfaces up (I have background=20 fsck-enabled, so the bad /usr partition got mounted and as a result, dhclie= nt=20 just hangs, like anything else). > You could try using dumpfs(8) to look at the super block contents. > > Have you tried telling fsck to use an alternate super block (-b option)? I found an alternate superblock at 128, but using it gives the same error. > If it's just a glitch that's affected the primary super block, this > should work. If the in-core data got corrupted and has been written to > all the superblocks, you might need to play with a filesystem editor. Can you suggest such an editor (and possibly give some hints what exactly t= o=20 do with it)?=20 =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart2359607.Np88InSshu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBqkJQXhc68WspdLARApa6AKCH9bXOEbAM0mk9dbj1VqyWx2esYQCeKc7L jzULWQFG1hi5leIYVHdKJOI= =hrYx -----END PGP SIGNATURE----- --nextPart2359607.Np88InSshu--