From owner-freebsd-geom@FreeBSD.ORG Mon Aug 13 09:15:30 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16BD216A419 for ; Mon, 13 Aug 2007 09:15:30 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from merke.itea.ntnu.no (merke.itea.ntnu.no [129.241.7.61]) by mx1.freebsd.org (Postfix) with ESMTP id CA45613C465 for ; Mon, 13 Aug 2007 09:15:29 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id 9202D140222; Mon, 13 Aug 2007 11:15:27 +0200 (CEST) Received: from caracal.stud.ntnu.no (caracal.stud.ntnu.no [129.241.56.185]) by merke.itea.ntnu.no (Postfix) with ESMTP; Mon, 13 Aug 2007 11:14:23 +0200 (CEST) Received: by caracal.stud.ntnu.no (Postfix, from userid 2312) id C2FF96240E2; Mon, 13 Aug 2007 11:14:06 +0200 (CEST) Date: Mon, 13 Aug 2007 11:14:06 +0200 From: Ulf Lilleengen To: freebsd-geom@freebsd.org Message-ID: <20070813091406.GA3078@stud.ntnu.no> References: <46BE65EC.1050906@queue.to> <46BE79AE.2070007@cyberleo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46BE79AE.2070007@cyberleo.net> User-Agent: Mutt/1.5.9i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: Howard Goldstein , CyberLeo Kitsana Subject: Re: graid5 or gvinums - bootable? 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: Mon, 13 Aug 2007 09:15:30 -0000 On Sat, Aug 11, 2007 at 10:08:07PM -0500, CyberLeo Kitsana wrote: > Howard Goldstein wrote: > > Q: Should a graid5 or gvinum provider be expected to be bootable, > > assuming the prover's partition table has an active bootable partition > > containing a properly bsdlabeled 'a' slice with the /boot subdirectories > > in it (i.e., all of the stuff you normally need in an ordinary, non-geom > > system to have a bootable slice)? > > > > Teh googling is somewhat helpful indicating that the boot loader can now > > deal with the GEOM'd gvinum as the boot device, and of course it works > > with gmirror but that's not really surprising since that provider > > wouldn't doesn't have its /boot slice striped into ribbons across > > multiple consumers like graid5 and gvinum in raid-5. > > I haven't tried with just /boot, but I have a machine with a 1.5GB > mirror across four disks for the root filesystem, with a graid5 across > the remaining space for the other filesystems. That works just fine. > > As far as I know, however, no boot loader can understand > software-striped or software-raid5ed filesystems, given that it would > essentially need to implement the relevant geom providers itself. > Yes. This is no problem with mirrors, since it's essentially just to read the first sectors of it. However, the other reason is that gmirror stores it's metadata at the end, so the loader won't have to care about it. So, booting of a gvinum volume will not work, but using another partition for /boot, and gvinum for root should work. -- Ulf Lilleengen