From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 20:33:53 2004 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 9558716A4CE for ; Mon, 5 Jan 2004 20:33:53 -0800 (PST) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 9E0A843D41 for ; Mon, 5 Jan 2004 20:33:50 -0800 (PST) (envelope-from doublef@tele-kom.ru) Received: (qmail 44141 invoked by uid 555); 6 Jan 2004 07:33:48 +0300 Received: from hal.localdomain (213.80.149.177) by t-k.ru with TeleMail/2 id 1073363627-44126 for malcolm.kay@internode.on.net; Tue, Jan 6 07:33:47 2004 +0300 (MSK) Date: Tue, 6 Jan 2004 07:35:19 +0300 From: Sergey 'DoubleF' Zaharchenko To: Malcolm Kay Message-Id: <20040106073519.54620420.doublef@tele-kom.ru> In-Reply-To: <200401061329.26665.malcolm.kay@internode.on.net> References: <20040106002948.38813.qmail@web41102.mail.yahoo.com> <200401061329.26665.malcolm.kay@internode.on.net> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Tue__6_Jan_2004_07_35_19_+0300_Hc1_F5NOZ1Sos5Fp" cc: scott@sremick.net cc: FreeBSD Subject: Re: "Cannot find file system superblock" error - how to recover? 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: Tue, 06 Jan 2004 04:33:53 -0000 --Signature=_Tue__6_Jan_2004_07_35_19_+0300_Hc1_F5NOZ1Sos5Fp Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 6 Jan 2004 13:29:26 +1030 Malcolm Kay probably wrote: > On Tue, 6 Jan 2004 10:59, Scott I. Remick wrote: > > Sorry for the delay... holidays had me busy. Me too:) > > Hopefully you're still around > > and interested in picking up where we left off. I think we're definitely > > onto something... > > > > Looking back over some of your e-mails I find: > QUOTE > su-2.05b# disklabel -r /dev/ad6s1c > # /dev/ad6s1c: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 156344517 63 unused 0 0 # "raw" part, don't > edit > e: 156344517 63 4.2BSD 2048 16384 89 > partition c: partition extends past end of unit > disklabel: partition c doesn't start at 0! > disklabel: An incorrect partition c may cause problems for standard system > utilities > partition e: partition extends past end of unit > > That doesn't look good. > ENDQUOTE > > The 63 offset is spurious. I've seen this before somewhere but can't > remember the details -- i.e the value 63. I know where you've seen this. The normal offset for the first *slice* is 63 sectors, for some historical reasons (those extra sectors were to be used for bad block replacement or something like that). Not sure how the 63 made it into the disklabel, though. > I wonder whether editing the label and setting both offsets to 0 > might solve the problem. It definitely seems like that, as the actual offset of the partition is 0, as dd shows. > You could always make a copy of the existing label > and put it back if the changes don't help. > > You could in addition check the size for the partitions against the size given by > fdisk for the slice. > > Malcolm Kay > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- DoubleF Never settle with words what you can accomplish with a flame thrower. --Signature=_Tue__6_Jan_2004_07_35_19_+0300_Hc1_F5NOZ1Sos5Fp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/+jsWwo7hT/9lVdwRArn9AJ9GEZFNcaxIFgrO1Ytkw2PScrsWTQCeNGkq YrvorqUtX6rpaDPSbvcvwiw= =UBft -----END PGP SIGNATURE----- --Signature=_Tue__6_Jan_2004_07_35_19_+0300_Hc1_F5NOZ1Sos5Fp--