From owner-freebsd-geom@FreeBSD.ORG Mon Nov 11 09:18:39 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 74F4B434 for ; Mon, 11 Nov 2013 09:18:39 +0000 (UTC) (envelope-from symbolics@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 122B02614 for ; Mon, 11 Nov 2013 09:18:39 +0000 (UTC) Received: from lemon ([80.7.17.14]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MYKGj-1WAvPQ2121-00V9uv for ; Mon, 11 Nov 2013 10:18:37 +0100 Received: by lemon (Postfix, from userid 1001) id D8CA8EB2F2; Mon, 11 Nov 2013 09:18:36 +0000 (GMT) Date: Mon, 11 Nov 2013 09:18:36 +0000 From: symbolics@gmx.com To: freebsd-geom@freebsd.org Subject: Re: documentation of GEOM data structures needed Message-ID: <20131111091836.GA83261@lemon> References: <20131111162400.0bc7dfef@X220.ovitrap.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131111162400.0bc7dfef@X220.ovitrap.com> X-Provags-ID: V03:K0:diDduCkeDMf6XpfEzOkLFdPw5SLx8PrEDuWdwvIw6hFj00L//dH qV+NeLP1CiFVG9UFH7GRwrDYjjdZ80EsvgX6yPK3UVrIykIRFaOWLglxMrlywuIxsCePFSM UUqfUfgIfcFAunXtCmF4BAzzZA88QHFIKLmYdBnHK/Sju1E159c1OgNm0EQ37qEwywpVfC0 67aQw3zeIto3VIK7Qj3Mw== X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2013 09:18:39 -0000 On Mon, Nov 11, 2013 at 04:24:00PM +0800, Erich Dollansky wrote: > Hi, > > I would need a documentation of the GEOM data structure. A disk got > damages in a strange way during the process of backing up data. It was > partitioned with gpart as all my disks using the MBR schema. When > creating the backup, the system crashed. The disk was not usable > anymore. I found out that the MBR was overwritten before the backup was > started while the beginning of the first partition seems to be ok. > > I hope to be able to recover the data saving me one week of work. Hi Erich, As I understand things, you believe that your filesystems are okay and you just want to recreate the MBR so you can try to fsck and mount them? How did you set the disc MBR up in the first place? If you used the automatic scheme in the installer and you know the size of the disc, you could reconstruct things that way. What does `gpart show' look like at the moment? --sym