Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2008 14:40:46 -0700
From:      Xin LI <delphij@delphij.net>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        freebsd-hackers@FreeBSD.org, Jeremy Chadwick <koitsu@FreeBSD.org>, Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
Subject:   Re: ZFS boot
Message-ID:  <48F11D5E.7090108@delphij.net>
In-Reply-To: <200810111810.m9BIAGPw059975@apollo.backplane.com>
References:  <E1KoeVm-000ELP-4b@cs1.cs.huji.ac.il> <200810111810.m9BIAGPw059975@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, Matt,

Matthew Dillon wrote:
[...]
>     /boot can be as complex as boot2 allows.  There's nothing preventing
>     it from being RAIDed if boot2 supported that, and there's nothing
>     preventing it (once you had ZFS boot capabilities) from being ZFS
>     using a topology supported by boot2.  Having a sparate /boot allows
>     your filesystem root to use topologues boot2 would otherwise not
>     support.

I believe that it's a good idea to separate / from the zpool for other
file systems, or even use a UFS /.  My experience with ZFS on my laptop
shows that disk failures can be more easily fixed if there are some
utilities available in the UFS /, even when ZFS is used as /.  Another
issue with a ZFS / is that the snapshot rollback feature generally does
not work on / since it needs the mountpoint to be unmounted.

One thing that I found very useful is the new GPT boot feature on 8.0,
which also works on older BIOS because the protected MBR would deal with
the bootstrap to the actual GPT boot.  Now we have a 15-block sized
gptboot that can boot FreeBSD from UFS, however this 'boot' can be in
virtually any size that the BIOS supports, so we can embed more logic there.

Cheers,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjxHV0ACgkQi+vbBBjt66CpXgCfWstsxNc3B4xOzNTxz9/kdl3Y
/WYAnjqiV5H8xQYxGgZTnwWieuG6ZZij
=LH+x
-----END PGP SIGNATURE-----



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