Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2007 00:50:45 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "R. B. Riddick" <arne_woerner@yahoo.com>
Cc:        geom@freebsd.org, Fernan Aguero <fernan.aguero@gmail.com>
Subject:   Re: clear metadata using dd?
Message-ID:  <20070108235044.GB5165@garage.freebsd.pl>
In-Reply-To: <20070108231751.78304.qmail@web30310.mail.mud.yahoo.com>
References:  <520894aa0701081445i43d76098m418ce695d2133e53@mail.gmail.com> <20070108231751.78304.qmail@web30310.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <fernan.aguero@gmail.com> 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 <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

--=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--



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