From owner-freebsd-geom@FreeBSD.ORG Sat Sep 25 16:08:43 2004 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 4A07216A4CE; Sat, 25 Sep 2004 16:08:43 +0000 (GMT) Received: from clueful.shagged.org (clueful.shagged.org [212.13.201.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D36243D2F; Sat, 25 Sep 2004 16:08:43 +0000 (GMT) (envelope-from chris@clueful.shagged.org) Received: from chris by clueful.shagged.org with local (Exim 4.40 (FreeBSD)) id 1CBF6C-0009pV-Pg; Sat, 25 Sep 2004 17:08:36 +0100 Date: Sat, 25 Sep 2004 17:08:36 +0100 From: Chris Elsworth To: Pawel Jakub Dawidek Message-ID: <20040925160836.GA37552@shagged.org> References: <54732.1096062623@critter.freebsd.dk> <1096063835.9306.130.camel@zappa.Chelsea-Ct.Org> <20040925002817.GA98852@shagged.org> <20040925131854.GA30301@shagged.org> <20040925133415.GJ9550@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040925133415.GJ9550@darkness.comp.waw.pl> User-Agent: Mutt/1.5.6i Sender: Chris Elsworth X-Shagged-MailScanner-Information: See www.mailscanner.info for information X-Shagged-MailScanner: Found to be clean X-MailScanner-From: chris@clueful.shagged.org cc: Paul Mather cc: Poul-Henning Kamp cc: freebsd-geom@freebsd.org Subject: Re: WARNING: Expected rawoffset 0, found 63 ? 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: Sat, 25 Sep 2004 16:08:43 -0000 On Sat, Sep 25, 2004 at 03:34:15PM +0200, Pawel Jakub Dawidek wrote: > On Sat, Sep 25, 2004 at 02:18:54PM +0100, Chris Elsworth wrote: > +> Anyone know what's going on here.. ? > > Yes, gmirror ignores providers with 0 sector size. It has been fixed in > -CURRENT: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/mirror/g_mirror.c.diff?r1=1.26&r2=1.27 Excellent, that fixes my problem :) I can now boot of a gmirror device, hurrah :) I still have applied the root_mount delay patch. From what I can make out this is only necessary if I need to boot off a degraded mirror, so I should be able to remove that. I'm not really sure if this really has much bearing on anything, but my devices at the moment appear to be da1a, da1c, etc, when I'm configuring up the mirror. If nothing else, it appears that gstat doesn't recognise those so monitoring their activity is difficult. Would it be better to configure the mirror in a slice, so using something like "gmirror label -hv gm da1s1", or does it really make no odds at all? -- Chris