From owner-freebsd-stable@FreeBSD.ORG Thu Feb 7 21:31:18 2008 Return-Path: Delivered-To: FreeBSD-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A34F16A46E for ; Thu, 7 Feb 2008 21:31:18 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from acme.spoerlein.net (acme.spoerlein.net [217.172.44.86]) by mx1.freebsd.org (Postfix) with ESMTP id 76A9F13C45E for ; Thu, 7 Feb 2008 21:31:17 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (e180169055.adsl.alicedsl.de [85.180.169.55]) by acme.spoerlein.net (8.14.1/8.14.1) with ESMTP id m17LUxoa001054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Feb 2008 22:31:01 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m17LUrpE003165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Feb 2008 22:30:53 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m17LUqF4003164; Thu, 7 Feb 2008 22:30:52 +0100 (CET) (envelope-from uspoerlein@gmail.com) X-Authentication-Warning: roadrunner.spoerlein.net: uqs set sender to uspoerlein@gmail.com using -f Date: Thu, 7 Feb 2008 22:30:52 +0100 From: Ulrich Spoerlein To: Nikola =?utf-8?B?TGXEjWnEhw==?= Message-ID: <20080207213052.GA1435@roadrunner.spoerlein.net> Mail-Followup-To: Nikola =?utf-8?B?TGXEjWnEhw==?= , Torfinn Ingolfsen , FreeBSD-stable@FreeBSD.org References: <7ad7ddd90802061204p35d0368ekbb54149287618f6a@mail.gmail.com> <20080207010502.3f96fd3f.torfinn.ingolfsen@broadpark.no> <7ad7ddd90802070030h3b42296et60d1e12f9d93d65f@mail.gmail.com> <20080207204910.68309fd1@anthesphoria.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080207204910.68309fd1@anthesphoria.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Torfinn Ingolfsen , FreeBSD-stable@FreeBSD.org Subject: Re: Reconstruct disklabel for UFS and GELI volumes 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: Thu, 07 Feb 2008 21:31:18 -0000 On Thu, 07.02.2008 at 20:49:10 +0100, Nikola Lečić wrote: > > Thanks for all the suggestions so far. Since I can't install any > > packages (I'm using the 6.2 fixit cd), how can I calculate the file > > system size from the ffsinfo output? > > I hate to be boring (since I already suggested the use of > sysutils/testdisk), but it would be really helpful to give it a try. > Please read this success story (5 mails): I would, if installing packages was more easily possible with the fixit mode. Looks like I need to take up my own live CD project again. > http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164901.html > > Among others things, it contains some notes on how to use packages that > are not included in rescue CD and how to recalculate your bsdlabel > offsets and other parametres. And yes, with or without GELI your swap > will appear just as a hole between "normal" partitions so its > dimensions are probably the last thing you will reconstruct. Why is there no metadata for the GELI swap? Is it because the 'label' command is not used (would make sense to me). Anyway, I reconstructed my disklabel and everything is back to normal. A nice exercise it was, though I'd rather have done it on non critical data :) Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.