From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 04:57:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4A5616A4B3 for ; Sun, 26 Oct 2003 04:57:30 -0800 (PST) Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 264CA43F93 for ; Sun, 26 Oct 2003 04:57:29 -0800 (PST) (envelope-from tilman@arved.de) Received: from huckfinn.arved.de (localhost [127.0.0.1]) h9QCvRBc008713; Sun, 26 Oct 2003 13:57:27 +0100 (CET) (envelope-from tilman@arved.de) Received: (from tilman@localhost) by huckfinn.arved.de (8.12.10/8.12.6/Submit) id h9QCvRpM008712; Sun, 26 Oct 2003 13:57:27 +0100 (CET) X-Authentication-Warning: huckfinn.arved.de: tilman set sender to tilman@arved.de using -f Date: Sun, 26 Oct 2003 13:57:26 +0100 From: Tilman Linneweh To: Tilman Linneweh Message-ID: <20031026125726.GA8649@huckfinn.arved.de> References: <20031025232719.GB56835@huckfinn.arved.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <20031025232719.GB56835@huckfinn.arved.de> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freeBSd.org Subject: Re: fsck -b 32 no updating Standard Superblock X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2003 12:57:30 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tilman Linneweh [So, 26 Okt 2003 at 01:51 GMT]: > I managed to trash my superblocks. When I try fsck -b 32 everything goes = well, > but the original superblock is not updated: >=20 > sauna# fsck /dev/ad0s1e > ** /dev/ad0s1e > Cannot find file system superblock >=20 > LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y >=20 > USING ALTERNATE SUPERBLOCK AT 32 > ** Last Mounted on=20 > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ** Phase 3 - Check Connectivity > ** Phase 4 - Check Reference Counts > ** Phase 5 - Check Cyl groups > 96 files, 188 used, 128811 free (75 frags, 16092 blocks, 0.1% fragmentati= on) > sauna# >=20 > According to Google there should be a Question >=20 > UPDATE STANDARD SUPERBLOCK? [yn] >=20 > but there isn't. what is going wrong? It looks like this functionality was removed in 5.x the solution was: dd if=3D skip=3D32 of=3D seek=3D16 bs=3D512 count=3D16 regards tilman --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/m8S1fCLDn4B6xToRApEbAJ46H2HYUcxaJlCKAwuapPezW+XoSQCcD5P4 WF25Gwjs4LNsqFGVj8AfTZY= =CZWf -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--