Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2003 13:57:26 +0100
From:      Tilman Linneweh <tilman@arved.de>
To:        Tilman Linneweh <tilman@arved.de>
Cc:        freebsd-questions@freeBSd.org
Subject:   Re: fsck -b 32 no updating Standard Superblock
Message-ID:  <20031026125726.GA8649@huckfinn.arved.de>
In-Reply-To: <20031025232719.GB56835@huckfinn.arved.de>
References:  <20031025232719.GB56835@huckfinn.arved.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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<disk> skip=3D32 of=3D<disk> 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--



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