Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2010 10:57:25 -0800
From:      Matt Reimer <mattjreimer@gmail.com>
To:        Dan Naumov <dan.naumov@gmail.com>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, rnoland@freebsd.org
Subject:   Re: booting off a ZFS pool consisting of multiple striped mirror  vdevs
Message-ID:  <f383264b1002181057y48e56cebv1c8bbb1c0fe9d1d2@mail.gmail.com>
In-Reply-To: <cf9b1ee01002160038o25e17bc8sd54e66be7c67f859@mail.gmail.com>
References:  <cf9b1ee01002160038o25e17bc8sd54e66be7c67f859@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 16, 2010 at 12:38 AM, Dan Naumov <dan.naumov@gmail.com> 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 :)
>

Booting from a stripe of two raidz vdevs works:

FreeBSD/i386 boot
Default: doom:/boot/zfsloader
boot: status
pool: doom
config:

                    NAME      STATE
                    doom     ONLINE
                  raidz1     ONLINE
            label/doom-0     ONLINE
            label/doom-1     ONLINE
            label/doom-2     ONLINE
                  raidz1     ONLINE
            label/doom-3     ONLINE
            label/doom-4     ONLINE
            label/doom-5     ONLINE

I'd guess a stripe of mirrors would work fine too. If I get a chance I'll
test that combo.


> 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? :)


It's probably unsupported in Solaris/OpenSolaris because of their
bootloader. Our bootloader is completely different from theirs and so is not
subject to those restrictions in the ZFS docs.

The bottom line is that I think FreeBSD can boot from pretty much any
configuration, except possibly from systems with huge numbers of disks.

Matt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f383264b1002181057y48e56cebv1c8bbb1c0fe9d1d2>