clear metadata using dd?

R. B. Riddick arne_woerner at yahoo.com
Mon Jan 8 23:44:33 UTC 2007


--- Fernan Aguero <fernan.aguero at 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 


More information about the freebsd-geom mailing list