From owner-freebsd-geom@FreeBSD.ORG Wed Jun 27 08:04:32 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 474F916A400 for ; Wed, 27 Jun 2007 08:04:32 +0000 (UTC) (envelope-from nico-freebsd-geom@schottelius.org) Received: from denkbrett.schottelius.org (natgw.netstream.ch [62.65.128.28]) by mx1.freebsd.org (Postfix) with ESMTP id 06D9113C46C for ; Wed, 27 Jun 2007 08:04:31 +0000 (UTC) (envelope-from nico-freebsd-geom@schottelius.org) Received: by denkbrett.schottelius.org (Postfix, from userid 1000) id 9F4E613ED4A; Wed, 27 Jun 2007 10:05:12 +0200 (CEST) Date: Wed, 27 Jun 2007 10:05:12 +0200 From: Nico -telmich- Schottelius To: Arne =?utf-8?Q?W=F6rner?= Message-ID: <20070627080512.GD19980@schottelius.org> References: <20070627074338.GC19980@schottelius.org> <66779.12351.qm@web30315.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HWvPVVuAAfuRc6SZ" Content-Disposition: inline In-Reply-To: <66779.12351.qm@web30315.mail.mud.yahoo.com> User-Agent: echo $message | gpg -e $sender -s | netcat mailhost 25 X-Unix-Info: http://unix.schottelius.org/ X-Netzseite: http://nico.schottelius.org/ X-System-Info: denkbrett running Linux 2.6.21.3-denkbrett on i686 Cc: freebsd-geom@freebsd.org Subject: Re: Size of metadate? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2007 08:04:32 -0000 --HWvPVVuAAfuRc6SZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Arne W=EF=BF=BDrner [Wed, Jun 27, 2007 at 12:57:45AM -0700]: > > > sysctl kern.geom.debugflags=3D16 > > > dd of=3D/dev/amrd0 if=3D/dev/zero bs=3D512 skip=3D286746623 count= =3D1 > > > [...] > >=20 > > I am currently trying that: top reports that dd now uses 99% cpu and it > > is running for about 3 minutes. > >=20 > > I am wondering how long this may run? > >=20 > Ohoh... >=20 > It skips block from the input device... > But it will not seek in the output device... Hmpf, that's why seek=3D was mentioned... > SO: TERMINATE IT!!! :-)) Too late. > Or ur first sector on amrd0 will be destroyed FOREVER...! So, any hints on how to recover the first 512 bytes for me? Btw, I just repeated it with the seek=3D and it worked! Now I've just to restore the mbr=20 a) is there somewhere a copy in memory? B) redoing it shouldn't be a big problem, as the layout was written down :-) Nico --=20 Think about Free and Open Source Software (FOSS). http://nico.schottelius.org/documentations/foss/the-term-foss/ PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C --HWvPVVuAAfuRc6SZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGgho4uL75KpiFGIwRAtHkAKDkZjCqaTwUg6Zx/1qiiFlnbg3b0gCgif9P 3zJ4symWARPEO/rN9fhqIeE= =SpCA -----END PGP SIGNATURE----- --HWvPVVuAAfuRc6SZ--