Re: ZFS boot



-----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-----
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [review request] zfsboot/zfsloader: support accessing filesystems within a pool
    ... detected ZFS pool. ... and is not derived from fstab, then it gets set to the selected boot filesystem. ... This should could be used as a foundation for the support of Solaris-like boot ... environment selection. ...
    (freebsd-hackers)
  • Re: Next ZFSv28 patchset ready for testing.
    ... v28 going to HEAD. ... Especially test new changes, like boot ... support and sendfilesupport. ... got some zfs debug messages in the console ...
    (freebsd-current)
  • Re: kernel memory checks on boot vs. boot time
    ... boot2 from booting an amd64 kernel. ... and mostly use my version of biosboot (= biosboot with elf support copied ... for the boot area is always 8K. ...
    (freebsd-arch)
  • Re: Zfs Q
    ... b90 seems to have added zfs root support to the installer and hopefully to liveupgrade. ... This putback provides the ability install the Solaris Operating System on a ZFS root file system for both x86 and SPARC platforms. ... The ZFS boot and install features will be available in the Solaris Express Community Edition, ...
    (comp.unix.solaris)
  • Re: Next ZFSv28 patchset ready for testing.
    ... Especially test new changes, like boot ... support and sendfilesupport. ... import for existing ZFS pools when running v28 or boot from ... pool and a single disk v15 root pool. ...
    (freebsd-current)