Date: Fri, 8 Oct 2010 17:19:36 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-stable@freebsd.org Subject: Re: Multiple zdevs in the root zpool? Message-ID: <20101008151936.GJ1733@garage.freebsd.pl> In-Reply-To: <4CAE4884.8080608@icyb.net.ua> References: <4CADA4D5.7080204@infracaninophile.co.uk> <4CAE2D6E.7070100@icyb.net.ua> <4CAE3D29.2020309@infracaninophile.co.uk> <4CAE4884.8080608@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101008151936.GJ1733>