From owner-freebsd-fs@FreeBSD.ORG Fri Jun 6 23:16:06 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 418EE6DE for ; Fri, 6 Jun 2014 23:16:06 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A5472AC3 for ; Fri, 6 Jun 2014 23:16:05 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id wo20so3530512obc.6 for ; Fri, 06 Jun 2014 16:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZTfXTSPiZ+pxPmkdiLqsy9L2UUi5LsmC2w2eBINA+jU=; b=HgBpSKlYqMxPI86fHIyV314IbCv0Ezt+Tf60H/xHrUb19nAOB/NMGqA0XHJRtSm6DJ bVcgeZszrJNf6/Z5E4hkKWjzC3VmQsEuGormZ/2ucheLKHtpgNPpnL259nzUGv1FHq42 BzZpinQ5djA3kLdVb5V/qRSJ6qt0S2N658w7h/jE5MyGQmBhenMOjmtIC9SRTM3X+WBK +AGreynE5xwQ+ep+/K23q8V7MSUbfwZ/lSqQj4xnAz1tMxhGXzyqjQe4a7wV1Pmvf2zm ZJmK8Hq+ZSWlKxcAv8i4JVIquFkYW3e23JtGtab3gSBQXDsF2YdXz5/KOBSF8eHvII23 jFYw== MIME-Version: 1.0 X-Received: by 10.182.60.42 with SMTP id e10mr8673750obr.33.1402096565168; Fri, 06 Jun 2014 16:16:05 -0700 (PDT) Received: by 10.76.167.164 with HTTP; Fri, 6 Jun 2014 16:16:03 -0700 (PDT) Received: by 10.76.167.164 with HTTP; Fri, 6 Jun 2014 16:16:03 -0700 (PDT) In-Reply-To: <201406061624.s56GOOx7015821@higson.cam.lispworks.com> References: <201406061624.s56GOOx7015821@higson.cam.lispworks.com> Date: Fri, 6 Jun 2014 16:16:03 -0700 Message-ID: Subject: Re: Is ZFS Multi-vdev root pool configuration discovery supported? From: Freddie Cash To: Martin Simmons Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: FreeBSD Filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 23:16:06 -0000 Typos courtesy of my Android phone. On Jun 6, 2014 9:35 AM, "Martin Simmons" wrote: > > Hi, > > Does anyone know if FreeBSD 9.2 (or indeed head) supports "Root On ZFS" with a > multi-vdev pool (e.g. 4 disks configured as two mirrored pairs)? > > Looking at the source, sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c > contains the comment: > > /* > * Multi-vdev root pool configuration discovery is not supported yet. > */ > > but the code below it from r243502 suggests that this is no longer true. FreeBSD 9.2 boots successfully off a 2-mirror vdev pool. I run that at home. gptzfsloader is installed on each disk in the system, and it will boot off any of them (changed order manually in the BIOS to test).