From owner-freebsd-geom@FreeBSD.ORG Wed Feb 7 21:49:50 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB88C16A485 for ; Wed, 7 Feb 2007 21:49:50 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 96A3A13C4AC for ; Wed, 7 Feb 2007 21:49:50 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HEufj-000830-LH for freebsd-geom@freebsd.org; Wed, 07 Feb 2007 22:49:47 +0100 Received: from 83-131-166-46.adsl.net.t-com.hr ([83.131.166.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Feb 2007 22:49:47 +0100 Received: from ivoras by 83-131-166-46.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Feb 2007 22:49:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Wed, 07 Feb 2007 22:49:41 +0100 Lines: 44 Message-ID: References: <45C98F32.20308@enderzone.com> <99017.1170839681@critter.freebsd.dk> <20070207213640.GB988@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig12F72EC869AA2EBAFDECA6D5" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-166-46.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <20070207213640.GB988@zaphod.nitro.dk> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: New g_part class X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 21:49:50 -0000 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--