Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2013 18:28:21 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Ollivier Robert <roberto@keltia.freenix.fr>
Cc:        freebsd-fs@freebsd.org, Dmitry Morozovsky <marck@rinet.ru>
Subject:   Re: boot from ZFS: which pool types use?
Message-ID:  <CA%2B7WWSdYYHh2%2BkbL7wYw=CDjpS0tuFkP8X9xoUKyvEL671WucA@mail.gmail.com>
In-Reply-To: <20130704151352.GC43809@roberto02-aw.erc.corp.eurocontrol.int>
References:  <alpine.BSF.2.00.1307041424030.2446@woozle.rinet.ru> <51D56066.1020902@FreeBSD.org> <alpine.BSF.2.00.1307041552031.2446@woozle.rinet.ru> <alpine.BSF.2.00.1307041559160.2446@woozle.rinet.ru> <51D56C19.8080103@FreeBSD.org> <20130704151352.GC43809@roberto02-aw.erc.corp.eurocontrol.int>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 4, 2013 at 6:13 PM, Ollivier Robert
<roberto@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSdYYHh2%2BkbL7wYw=CDjpS0tuFkP8X9xoUKyvEL671WucA>