Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2008 01:05:02 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-stable@freebsd.org
Subject:   Re: Reconstruct disklabel for UFS and GELI volumes
Message-ID:  <20080207010502.3f96fd3f.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <7ad7ddd90802061204p35d0368ekbb54149287618f6a@mail.gmail.com>
References:  <7ad7ddd90802061204p35d0368ekbb54149287618f6a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 06 Feb 2008 21:04:23 +0100
Ulrich Spoerlein <uspoerlein@gmail.com> wrote:

> There were three labels
Actually, it is one label per slice, unless you are doing something
unusual?

> - ad0s4a: UFS, exact size unknown. Is it possible to infer this from
> the UFS partition size? I can mount this already, as I simply wrote an
> 'a' label of maximum size to the disklabel
> - ad0s4b: GELI encrypted swap
> - ad0s4d: GELI encrypted ZVOL

These are partitions in BSD-speak.

> Any help or advice would be highly appreciated!

FWIW, I have had success with scan_ffs[1] as documented in this short
article[2]. It will recover lost labels, or at least try to.
If you are downloading binary packages from somewhere, be sure to
double check that you get the one that fits your platform (i386 / amd64
or whatever) and version.
Take it slowly, and double check all steps before comitting anything.

Good luck!

References:
1) http://www.freshports.org/sysutils/scan_ffs/
2) http://geekinfo.net/article.php?story=20071224175132586
-- 
Regards,
Torfinn Ingolfsen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080207010502.3f96fd3f.torfinn.ingolfsen>