From owner-freebsd-geom@FreeBSD.ORG Tue Jun 26 22:13:39 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 412AB16A41F for ; Tue, 26 Jun 2007 22:13:39 +0000 (UTC) (envelope-from nico-freebsd-geom@schottelius.org) Received: from denkbrett.schottelius.org (gw.ptr-62-65-149-149.customer.ch.netstream.com [62.65.149.149]) by mx1.freebsd.org (Postfix) with ESMTP id EF32213C45E for ; Tue, 26 Jun 2007 22:13:38 +0000 (UTC) (envelope-from nico-freebsd-geom@schottelius.org) Received: by denkbrett.schottelius.org (Postfix, from userid 1000) id 5C16F1859B9; Wed, 27 Jun 2007 00:09:14 +0200 (CEST) Date: Wed, 27 Jun 2007 00:09:14 +0200 From: Nico -telmich- Schottelius To: freebsd-geom@freebsd.org Message-ID: <20070626220914.GA11511@schottelius.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline 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 Subject: 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: Tue, 26 Jun 2007 22:13:39 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I cannot delete the gmirror metadata with gmirror clear, I guess the problem is that the partition size changed, because I put the disk into a raid-controller and that the controller changed the disk size, because it added metadate to it, too. Now my question is, how can I clear the metadata block via dd? I think dd skip=3D(size_of_hd_in_512_bytes_blocks-gmirror-size) if=3D/dev/zero of=3D/dev/amrd0 count=3D?? should do the job, but I am not aware how many bytes to clear. A more detailled description can be found on http://home.schottelius.org/~nico/unix/freebsd/gmirror-remove Thanks for any hint, 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 --2fHTh5uZTiUOsy+g 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) iD8DBQFGgY6KuL75KpiFGIwRAvRQAKC3JU2TmPIZ91LOaZWEqyWouGCU/ACgtUDy Rs6LQVwHBsm1bLxIVk6bIB8= =IAzn -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--