From owner-freebsd-stable@FreeBSD.ORG Tue Feb 16 12:08:01 2010 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 655251065672 for ; Tue, 16 Feb 2010 12:08:01 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2E7B18FC0C for ; Tue, 16 Feb 2010 12:08:00 +0000 (UTC) Received: from [192.168.1.4] (adsl-241-172-37.bna.bellsouth.net [74.241.172.37]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o1GC7wsm054375 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 16 Feb 2010 07:07:59 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Dan Naumov In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Date: Tue, 16 Feb 2010 06:07:53 -0600 Message-Id: <1266322073.11131.30.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00, FH_DATE_PAST_20XX,RCVD_IN_PBL,RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: FreeBSD-STABLE Mailing List , mattjreimer@gmail.com Subject: RE: booting off a ZFS pool consisting of multiple striped mirror vdevs 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: Tue, 16 Feb 2010 12:08:01 -0000 On Tue, 2010-02-16 at 10:38 +0200, Dan Naumov wrote: > > I don't know, but I plan to test that scenario in a few days. > > > > Matt > > Please share the results when you're done, I am really curious :) > > > > It *should* work... I made changes a while back that allow for multiple > > vdevs to attach to the root. In this case you should have 3 mirror > > vdevs attached to the root, so as long as the BIOS can enumerate all of > > the drives, we should find all of the vdevs and build the tree > > correctly. It should be simple enough to test in qemu, except that the > > BIOS in qemu is a little broken and might not id all of the drives. > > > > robert. > > If booting of a stripe of 3 mirrors should work assuming no BIOS bugs, > can you explain why is booting off simple stripes (of any number of > disks) currently unsupported? I haven't tested that myself, but > everywhere I look seems to indicate that booting off a simple stripe > doesn't work or is that "everywhere" also out of date after your > changes? :) I would need to setup a qemu test for it... But I can't think of a reason that it shouldn't work. I currently boot from two physical drives attached to the root. In the boot code we enumerate all the physical vdevs, so that we can correctly identify the correct disk and offset from the block pointer. The mirror driver is really pretty simple. robert. > > - Sincerely, > Dan Naumov -- Robert Noland FreeBSD