From owner-freebsd-stable@FreeBSD.ORG Mon Oct 23 17:12:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 C51B316A4A7; Mon, 23 Oct 2006 17:12:05 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B686D43D8D; Mon, 23 Oct 2006 17:11:33 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id k9NH9MOo018442; Mon, 23 Oct 2006 18:10:46 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk k9NH9MOo018442 Message-ID: <453CF73C.4080507@infracaninophile.co.uk> Date: Mon, 23 Oct 2006 18:09:16 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: Andrew Reilly References: <17719.43574.819134.370333@roam.psg.com> <20061020005501.R32598@fledge.watson.org> <20061023060431.GA3186@duncan.reilly.home> In-Reply-To: <20061023060431.GA3186@duncan.reilly.home> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig2BD6D660583A23C2C8DB03BC" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 23 Oct 2006 18:11:07 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.5/2083/Mon Oct 23 16:41:11 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, NO_RELAYS autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on happy-idiot-talk.infracaninophile.co.uk Cc: Randy Bush , FreeBSD Stable , Robert Watson Subject: Re: 5 to 6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 17:12:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2BD6D660583A23C2C8DB03BC Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Andrew Reilly wrote: > [*] The production server is using a software RAID mirror on > a pair of SATA drives on a low-end Intel P4/ICH6 motherboard, > using ar(4), configured by atacontrol. Fsck on 6.x can't find > any superblocks on /usr, but 5.5 is fine. It's a horrible hack, and you should definitely have good backups before trying this and there's no guarantee it will even work, but... tunefs -A {mumble} /dev/ad0s1a will re-write all of the superblocks on your disk partition. For {mumble} I used '-n enable' (ie. turn on softupdates), which happened to be a no-op on that system, but you could use practically anything tunefs provides. The problem I had was sort of going in the other direction though: I'd booted fixit mode from a 6.1 Install disk in order to transfer the contents of a failing 4.x system disk to a new drive, and while I could slice, partition and create UFS1 filesystems perfectly happily under 6.1 and use 6.1 dump and restore to copy the disk contents, on reboot 4.x couldn't read the superblocks properly, so the system wouldn't fsck properly and get past single user mode. The trick of using 'tunefs -A' fixed that, and the machine is now running 4.11-RELEASE-p25 perfectly happily on the replacement hard drive. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig2BD6D660583A23C2C8DB03BC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFPPdC8Mjk52CukIwRCBzjAJ9xyOA58PCYPceBoRZTSM9BZPNy8ACeOPjz LB83tifbc2E4hOIGd/aNV9I= =70nu -----END PGP SIGNATURE----- --------------enig2BD6D660583A23C2C8DB03BC--