boot from ZFS: which pool types use?

Kimmo Paasiala kpaasial at gmail.com
Thu Jul 4 15:28:22 UTC 2013


On Thu, Jul 4, 2013 at 6:13 PM, Ollivier Robert
<roberto at keltia.freenix.fr> wrote:
> According to Andriy Gapon on Thu, Jul 04, 2013 at 03:35:37PM +0300:
>> Setting bootfs should not be required.  If your root filesystem is your root
>> dataset (like "tank"), then everything should have just worked.
>
> Except that it is a better idea to have a dataset separated from the root of the pool in order to be able to switch from one to another when upgrading, right?
>
> --

If you use the Solaris boot environments (the FreeBSD port is called
sysutils/beadm) they require that the datasets are structured exacly
in a certain way. For example:

pool/ROOT/default
pool/ROOT/default/usr
...
pool/ROOT/test
pool/ROOT/test/usr

etc.

To be able to boot from any of the boot environments you have to set
the bootfs property (or set vfs.root.mountfrom in loader.conf but
that's terribly clumsy with boot environments).

-Kimmo


More information about the freebsd-fs mailing list