Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2015 21:10:06 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        freebsd-hackers@freebsd.org
Subject:   FreeBSD Boot Environments
Message-ID:  <20150520181006.GB21070@zxy.spb.ru>

next in thread | raw e-mail | index | archive | help
I am try to use Boot Environments and have some misundertanding.
As I see beadm manage only zroot/ROOT. But base upgrade touch not only
/{boot,etc,bin,lib,libexec,rescue,sbin} but also /usr and from time to
time /var. And don't touch (at most) /root.

What correct way to use Boot Environments?
Rename zfs datasets as:

From			To
zroot/usr		zroot/ROOT/default/usr
zroot/usr/home		zroot/home

create

zroot/root

leave (rename after moving zroot/usr)

zroot/usr/ports
zroot/usr/src
zroot/usr/local

Or somehow else?

How prepare upgrades for such install?

Create model setup, witch similar enviroment
zfs snap modelroot@N
do install{world,kernel} DESTDIR=/modelroot
do mergemaster -I -U -D /modelroot
zfs send -i N-1 modelroot@N | ssh host zfs recv zroot/ROOT/new

Or somehow else?



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