Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Feb 2007 22:49:41 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-geom@freebsd.org
Subject:   Re: New g_part class
Message-ID:  <eqdhhl$ccs$1@sea.gmane.org>
In-Reply-To: <20070207213640.GB988@zaphod.nitro.dk>
References:  <45C98F32.20308@enderzone.com>	<99017.1170839681@critter.freebsd.dk> <eqdfjm$5c3$1@sea.gmane.org> <20070207213640.GB988@zaphod.nitro.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig12F72EC869AA2EBAFDECA6D5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Simon L. Nielsen wrote:

> IE. the gmirror device is one sector smaller than the disk device.

That's not the problem - the problem is: who handles that sector? For
example, a simple partition layout might be:

ad0 - first drive of size X
ad0s1 - of size Y
ad1 - second drive of size X
ad1s1 - of size Y

When creating a mirror of ad0s1 and ad1s1, gmirror writes its metadata
on the last sector of both partitions, and creates the mirror device one
sector smaller than Y. It can't write this sector if either of the
partitions are in use (e.g. mounted).

Actually, while writing it all down like this, it occured to me this
can't be elegantly solved on the partition level, so sorry for the noise =
:)




--------------enig12F72EC869AA2EBAFDECA6D5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFykl1ldnAQVacBcgRAnRSAJ9wOscTIQXWpfqwVW4iGa01UkSdfwCcCHbx
4PsmJornd1ehrMHTRK/4cyY=
=uEEo
-----END PGP SIGNATURE-----

--------------enig12F72EC869AA2EBAFDECA6D5--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eqdhhl$ccs$1>