clear metadata using dd?
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jan 9 00:18:39 UTC 2007
On Mon, Jan 08, 2007 at 03:17:51PM -0800, R. B. Riddick wrote:
> --- 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)...
If there is a gmirror configured on adXs3, I'd suggest doing:
# gmirror stop <name of the mirror on adXs3>
# gmirror clear adXs3
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070109/1ed883f6/attachment.pgp
More information about the freebsd-geom
mailing list