From owner-freebsd-geom@FreeBSD.ORG Mon Jan 8 23:44:33 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 0EDCD16A40F for ; Mon, 8 Jan 2007 23:44:33 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30310.mail.mud.yahoo.com (web30310.mail.mud.yahoo.com [209.191.69.72]) by mx1.freebsd.org (Postfix) with SMTP id ACA7413C44B for ; Mon, 8 Jan 2007 23:44:32 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 78306 invoked by uid 60001); 8 Jan 2007 23:17:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=R9I6CqEN7TvkBVyNRlouRnRjsxLd1SEeQO5rf3Yx7jndfd1vkyoxumXxA1OW5iim7RNJJbyC87vnOnHnm5pZZSivwF5Fl/bL8N1FpgHYSG9rcbXwRDhJlb0K3Y9D2HzhCh9XdjSasVu3aJr/ryFLB9RKhTwR51XWv1EmoSld+6U= ; Message-ID: <20070108231751.78304.qmail@web30310.mail.mud.yahoo.com> X-YMail-OSG: W_BUM9cVM1mmaycW7y3SgeJV676s0pONLhlL_e9UjgYFLl0FNp2pWz_GHfeV1EleJxOvXvzpoG3uv2OHAGZQTxHRZD9aOYOn766zzkkWxEU4GQf1Eb6Gom9ahXr2ZVrT3DhkKW0DkoMs.w-- Received: from [213.54.175.5] by web30310.mail.mud.yahoo.com via HTTP; Mon, 08 Jan 2007 15:17:51 PST Date: Mon, 8 Jan 2007 15:17:51 -0800 (PST) From: "R. B. Riddick" To: Fernan Aguero , geom@freebsd.org In-Reply-To: <520894aa0701081445i43d76098m418ce695d2133e53@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: 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: Mon, 08 Jan 2007 23:44:33 -0000 --- Fernan Aguero wrote: > I imagine I have to use something like > dd if=/dev/zero of=/dev/ad4s3? bs=512 count=1 > > but adding either skip=? or seek=? to taste. > > 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 > What about "dd if=/dev/zero of=/dev/ad4s3 oseek=188742707"? What does "gmirror status" say? I would remove the gmirror-s with "gmirror remove " (its easier than dd)... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com