Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 15:17:51 -0800 (PST)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        Fernan Aguero <fernan.aguero@gmail.com>, geom@freebsd.org
Subject:   Re: clear metadata using dd?
Message-ID:  <20070108231751.78304.qmail@web30310.mail.mud.yahoo.com>
In-Reply-To: <520894aa0701081445i43d76098m418ce695d2133e53@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Fernan Aguero <fernan.aguero@gmail.com> 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 <device> <disk/slice>" (its
easier than dd)...

-Arne

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070108231751.78304.qmail>