Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 00:09:14 +0200
From:      Nico -telmich- Schottelius <nico-freebsd-geom@schottelius.org>
To:        freebsd-geom@freebsd.org
Subject:   Size of metadate?
Message-ID:  <20070626220914.GA11511@schottelius.org>

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

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello!

I cannot delete the gmirror metadata with gmirror clear, I guess
the problem is that the partition size changed, because I put the
disk into a raid-controller and that the controller changed the
disk size, because it added metadate to it, too.

Now my question is, how can I clear the metadata block via dd?
I think dd skip=3D(size_of_hd_in_512_bytes_blocks-gmirror-size)
if=3D/dev/zero of=3D/dev/amrd0 count=3D?? should do the job, but I am not
aware how many bytes to clear.

A more detailled description can be found on
http://home.schottelius.org/~nico/unix/freebsd/gmirror-remove

Thanks for any hint,

Nico

--=20
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGgY6KuL75KpiFGIwRAvRQAKC3JU2TmPIZ91LOaZWEqyWouGCU/ACgtUDy
Rs6LQVwHBsm1bLxIVk6bIB8=
=IAzn
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--



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