From owner-freebsd-stable@FreeBSD.ORG Thu Jan 3 19:25:28 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D779516A46D for ; Thu, 3 Jan 2008 19:25:28 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing02.lava.net (outgoing02.lava.net [64.65.64.125]) by mx1.freebsd.org (Postfix) with ESMTP id B78F813C45A for ; Thu, 3 Jan 2008 19:25:28 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing02.lava.net (Postfix) with ESMTP id 2E71DB8884; Thu, 3 Jan 2008 09:25:28 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id AD138153882; Thu, 3 Jan 2008 09:25:27 -1000 (HST) Date: Thu, 3 Jan 2008 09:25:27 -1000 From: Clifton Royston To: "Chris H." Message-ID: <20080103192526.GA18773@lava.net> Mail-Followup-To: "Chris H." , freebsd-stable@freebsd.org References: <20080102002651.r72jwx0pgk4000c8@webmail.1command.com> <20080102070518.ki0v7vxkgo0cossg@webmail.1command.com> <20080102111751.5huybrwosgs0ccos@newwebmail.jnielsen.net> <20080102112230.g7p1bj3sdck488g8@newwebmail.jnielsen.net> <20080102084743.xtecj951wogwws8w@webmail.1command.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080102084743.xtecj951wogwws8w@webmail.1command.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-stable@freebsd.org Subject: Re: gmirror on 7B4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 19:25:28 -0000 On Wed, Jan 02, 2008 at 08:47:43AM -0800, Chris H. wrote: > Quoting John Nielsen : > > >I'm not sure I remember everything from earlier in this thread so I > >don't know if it's relevant, BUT you can't boot from a gstripe volume > >(or from a gconcat one AFAIK). Inferring from your fstab example > >below it doesn't sound like you intend to but I just wanted to be > >sure. > > Are you sure? I read that using gmirror requires /kernel to be located > in the /boot slice and everything else (all other slices) can be mirrored > safely. But in all my reading (man pages, FBSD handbook, asstd articles) > I haven't seen anything indicating booting wasn't possible from a gstripe > volume. Your current idea is backwards; you can boot from entirely mirrored drives (i.e. RAID1) and I've been doing it since 5.3, but AFAIK it is impossible to boot from a striped drive and I suspect will remain so for a long time. One way to visualize this is to recognize that because the gmirror information is stored at the very end of the lower-level GEOM object, each of the raw drives in the mirrored set appears to be an perfectly normal drive when reading it from its beginning; thus it is possible to simply read it as a normal device during the earlier stages of boot until GEOM and gmirror loads. With striping, however, the logical content is spread out across multiple drives, so any one drive you try to boot from has only 1/Nth of the relevant sectors. Does this help? -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services