From owner-freebsd-geom@FreeBSD.ORG Tue Jan 9 00:18:39 2007 Return-Path: X-Original-To: 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 5AE9116A412 for ; Tue, 9 Jan 2007 00:18:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id EE8BA13C442 for ; Tue, 9 Jan 2007 00:18:38 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 90B87487F3; Tue, 9 Jan 2007 00:51:16 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 985AA45696; Tue, 9 Jan 2007 00:51:12 +0100 (CET) Date: Tue, 9 Jan 2007 00:50:45 +0100 From: Pawel Jakub Dawidek To: "R. B. Riddick" Message-ID: <20070108235044.GB5165@garage.freebsd.pl> References: <520894aa0701081445i43d76098m418ce695d2133e53@mail.gmail.com> <20070108231751.78304.qmail@web30310.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nVMJ2NtxeReIH9PS" Content-Disposition: inline In-Reply-To: <20070108231751.78304.qmail@web30310.mail.mud.yahoo.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: geom@freebsd.org, Fernan Aguero Subject: Re: clear metadata using dd? 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, 09 Jan 2007 00:18:39 -0000 --nVMJ2NtxeReIH9PS Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 08, 2007 at 03:17:51PM -0800, R. B. Riddick wrote: > --- Fernan Aguero wrote: > > I imagine I have to use something like > > dd if=3D/dev/zero of=3D/dev/ad4s3? bs=3D512 count=3D1 > >=20 > > but adding either skip=3D? or seek=3D? to taste. > >=20 > > gama# fdisk -s /dev/ad4 > > /dev/ad4: 310101 cyl 16 hd 63 sec > > Part Start Size Type Flags > > 1: 63 16771041 0xa5 0x00 > > 2: 16771923 146795229 0xa5 0x80 > > 3: 146795292 188742708 0xa5 0x00 > >=20 > What about "dd if=3D/dev/zero of=3D/dev/ad4s3 oseek=3D188742707"? >=20 > What does "gmirror status" say? > I would remove the gmirror-s with "gmirror remove " = (its > easier than dd)... If there is a gmirror configured on adXs3, I'd suggest doing: # gmirror stop # gmirror clear adXs3 --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --nVMJ2NtxeReIH9PS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFotjUForvXbEpPzQRAhSPAKCdIN1cmY1RPob/UIVO3k7TwMmN/gCg+Yvc ZbQMT52MPKPI0he6HRM7xv8= =anne -----END PGP SIGNATURE----- --nVMJ2NtxeReIH9PS--