From owner-freebsd-stable@FreeBSD.ORG Fri Oct 8 15:43:36 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 547761065674 for ; Fri, 8 Oct 2010 15:43:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id E946D8FC13 for ; Fri, 8 Oct 2010 15:43:35 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AC88245CA0; Fri, 8 Oct 2010 17:20:08 +0200 (CEST) Received: from localhost (chello089073192049.chello.pl [89.73.192.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id E251445684; Fri, 8 Oct 2010 17:20:01 +0200 (CEST) Date: Fri, 8 Oct 2010 17:19:36 +0200 From: Pawel Jakub Dawidek To: Andriy Gapon Message-ID: <20101008151936.GJ1733@garage.freebsd.pl> References: <4CADA4D5.7080204@infracaninophile.co.uk> <4CAE2D6E.7070100@icyb.net.ua> <4CAE3D29.2020309@infracaninophile.co.uk> <4CAE4884.8080608@icyb.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huBJOJF9BsF479P6" Content-Disposition: inline In-Reply-To: <4CAE4884.8080608@icyb.net.ua> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.5 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-stable@freebsd.org Subject: Re: Multiple zdevs in the root zpool? 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: Fri, 08 Oct 2010 15:43:36 -0000 --huBJOJF9BsF479P6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 08, 2010 at 01:24:04AM +0300, Andriy Gapon wrote: > on 08/10/2010 00:35 Matthew Seaman said the following: > > On 07/10/2010 21:28:30, Andriy Gapon wrote: > >> on 07/10/2010 13:45 Matthew Seaman said the following: > >>> However, according to my understanding, if you want to boot from a > >>> zpool, you can only have one vdev in that pool. > >>> > >>> But what exactly does this mean? > >> > >> Yes, exactly, what does that mean? :) > >> Where did your understanding come from? > >> > >=20 > > It was from reading posts like this: > > http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/21167= 7.html > >=20 > > Plus the comments in > > cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c and > > sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c (grep for > > the words 'root pool') >=20 > Hmm, it seems like a protection for limitations of OpenSolaris boot loade= r that > slipped into our sources. > I am pretty sure that our boot code can boot such pools without problems. FreeBSD doesn't have OpenSolaris limitations when it comes to booting. You can boot from multi-vdev pools, from RAIDZ1, RAIDZ2, etc. There are some comments in the code that comes from OpenSolaris and suggests otherwise, but simply ignore them. There is also one change to be merged soon, that removes a check that prevents adding new vdevs when bootfs property is set (r212385). --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --huBJOJF9BsF479P6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyvNocACgkQForvXbEpPzQC9QCfU0q3Ayu6rB4Uxe06AnSeyZ/C Sm4AoMd3/jN9lZIqzcc4ax9PeZkL3yjN =I0na -----END PGP SIGNATURE----- --huBJOJF9BsF479P6--