Multiple zdevs in the root zpool?
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Oct 8 15:43:36 UTC 2010
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?
> > It was from reading posts like this:
> > http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/211677.html
> > 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')
> Hmm, it seems like a protection for limitations of OpenSolaris boot loader 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).
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20101008/46148101/attachment.pgp
More information about the freebsd-stable