From owner-freebsd-geom@FreeBSD.ORG Mon Nov 11 10:32:26 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 22BA4869 for ; Mon, 11 Nov 2013 10:32:26 +0000 (UTC) (envelope-from erich@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EB0E92A4A for ; Mon, 11 Nov 2013 10:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=TKK+pFaLW8YAsK0EN97lYVv477xdwTxDE5fKpOrXHG8=; b=yK4DYJFSPslOLmb9761jmbDcIE4jkbInK0Fk382ivegDQMWUK2Wk3SFbRI2GSN7uuofFiYhOHLOsjhhxFHjTOsRSkjRjC0wtn3LapAYKj84w29XWDkb3VVfGXz6fT7wAdNWyrsPryudSnURRZmzz7CdOYNLO6a1FOge9bynCE0c=; Received: from [182.5.85.198] (port=49975 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1Vfon9-001IHm-3K; Mon, 11 Nov 2013 03:32:24 -0700 Date: Mon, 11 Nov 2013 18:32:16 +0800 From: Erich Dollansky To: symbolics@gmx.com Subject: Re: documentation of GEOM data structures needed Message-ID: <20131111183216.5ec80e9e@X220.ovitrap.com> In-Reply-To: <20131111091836.GA83261@lemon> References: <20131111162400.0bc7dfef@X220.ovitrap.com> <20131111091836.GA83261@lemon> Organization: ALO Green Technologies X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erich@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-geom@freebsd.org 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 10:32:26 -0000 Hi Sym, On Mon, 11 Nov 2013 09:18:36 +0000 symbolics@gmx.com wrote: > 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 this is the basic idea. > 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 I used the manual way creating 6 partitions. > disc, you could reconstruct things that way. What does `gpart show' > look like at the moment? It does not come that far gpart list da0 gpart: No such geom: da0. is all I get. My luck is that I have three disks which are the type but manufactured with some months between. But their sizes differ a bit. I think that I should be able to recover much by just comparing the entries. Erich > > --sym > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to > "freebsd-geom-unsubscribe@freebsd.org"