From owner-freebsd-geom@FreeBSD.ORG Tue Apr 12 07:18:55 2005 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1CDB16A4CE for ; Tue, 12 Apr 2005 07:18:55 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C2A43D55 for ; Tue, 12 Apr 2005 07:18:55 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 3EB6BACAFB; Tue, 12 Apr 2005 09:18:52 +0200 (CEST) Date: Tue, 12 Apr 2005 09:18:52 +0200 From: Pawel Jakub Dawidek To: Chris Elsworth Message-ID: <20050412071852.GW837@darkness.comp.waw.pl> References: <20050411122450.GA26898@spork.qfe3.net> <20050411135737.GM837@darkness.comp.waw.pl> <20050412071232.GA8756@spork.qfe3.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="buIjhH4yeEd3S+4P" Content-Disposition: inline In-Reply-To: <20050412071232.GA8756@spork.qfe3.net> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd@gizm0.org cc: freebsd-geom@freebsd.org Subject: Re: gmirror & sparc64 oddness X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 07:18:56 -0000 --buIjhH4yeEd3S+4P Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 12, 2005 at 08:12:32AM +0100, Chris Elsworth wrote: +> On Mon, Apr 11, 2005 at 03:57:37PM +0200, Pawel Jakub Dawidek wrote: +> >=20 +> > No, the problem is that geom_sunlabel class operates only on rank#1 +> > providers (disks, etc.). +> > Mirrors are not rank#1 of course, because there are providers under th= em. +> > This was done to prevent recursive labels creations. +> >=20 +> > geom_bsd and geom_mbr are already fixed and are using MD5 to verify +> > if metadata were already used for slices/labels creation. +> >=20 +> > I don't have HW to test this, but please try this patch and tell me +> > if it works for you: +>=20 +> Hello Pawel, +>=20 +> This seems to work fine - no problems so far and it's happily booted +> off a gmirror device. The only thing I've noticed so far is that +> writes during a synchronization of components don't seem to be +> appearing in gstat for the mirror: +>=20 +> dT: 1.010 flag_I 1000000us sizeof 288 i -1 +> L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name +> 0 0 0 0 0.0 0 0 0.0 0.0| acd0 +> 1 77 0 0 0.0 77 9757 6.6 50.9| da0 +> 0 77 77 9884 1.8 0 0 0.0 13.8| da1 +> 0 77 77 9884 1.8 0 0 0.0 14.1| mirror/gm0 +>=20 +> This is a sync from da1 to da0, but notice how the writes values for +> the mirror are zero. I can't recall offhand whether this happens on +> i386 as well, but I just thought I'd point it out as an oddity ; or +> this is recognised behaviour? It's perfect normal - I read from the mirror, but write goes only to da0 provider, so you can see writes to da0 and read from da1 and gm0. +> Thanks very much for the patch, hope it makes it into the tree :) Yes, thanks for testing. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --buIjhH4yeEd3S+4P Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCW3ZcForvXbEpPzQRAocxAJ9KMRk3ZjPLBI6bZt9AcaPbWMmKcACgkUkC TL+S7b5gZIDlGSyKHukCHMI= =12YQ -----END PGP SIGNATURE----- --buIjhH4yeEd3S+4P--