FreeBSD ZFS with Boot Environments (Was: 10.1-RELEASE: bsdinstall on zfs: /var and /usr on zroot/ROOT/default)

Raphael Eiselstein rabe at uugrn.org
Sun Feb 8 23:26:38 UTC 2015


On Sun, Feb 08, 2015 at 11:54:12PM +0300, Antony Uspensky wrote:
> On Sun, 8 Feb 2015, Raphael Eiselstein wrote:
> >As I wanted to move zroot/usr/home to zroot/home I noticed that
> >everything from /usr and /var is in the "/" mount (zroot/ROOT/default)
> >The "mountpoint" property of zroot/var and zroot/usr seems correct but
> >in fact it is not mounted there.

> This is not a bug and you should not fix it:
> this setup uses boot environments and /var and /usr with content

This was not obvious (for me). I use ZFS since 8.x with FreeBSD 
(with manual setup of zroot / gptzfs-bootloader etc) and with Debian 
wheezy for a while so I'm not "new" to ZFS.

Having a BE is cool stuff I guess, but it lacks some documentation (at
least in FreeBSD handbook).

I found just a side note about "boot environments" in the "FreeBSD
handbook": https://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html

Is there some "official" documentation about boot environments?

Searching the web for 'site:freebsd.org zfs "boot environment"' I found
https://forums.freebsd.org/threads/howto-freebsd-zfs-madness.31662/ 
So is this "official" or mainstream or just a experimental hack or a poc?

Regards
Raphael
-- 
Raphael Eiselstein <rabe at uugrn.org> 
PGP                   4E63 5307 6F6A 036D 518D  3C4F 75EE EA14 F625 DB4E
.........|.........|.........|.........|.........|.........|.........|..

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150209/54e9eff4/attachment.sig>


More information about the freebsd-stable mailing list