Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 12:40:00 +0000
From:      krad <kraduk@gmail.com>
To:        Matthew Seaman <matthew@freebsd.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: freebsd-update, ZFS, and ver 8.2
Message-ID:  <CALfReyc5zEwpCH_0_uX3LVqwE_OiLi2dyy2yJWY9JsMVwg7thQ@mail.gmail.com>
In-Reply-To: <566FD253.5090906@FreeBSD.org>
References:  <20151214194012.M53329@brightstar.bomgardner.net> <CALfReyfzGq7in_FnGCJXW5aPmyCqjm4z%2BDJ_i3ZPEkDCJZWiLg@mail.gmail.com> <566FD253.5090906@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
True I missed that part, however  you only need to to the pool/dataset
upgrade if you want to use all the new features eg lz4 compression. It will
still work fine without upgrading the pools/datasets  and you will still
get all the benefits of the bug fixes and performance boosts done to the
kernel code without doing any pool updates.

I'm not aware of any feature flags that are needed to make boot
environments work, but I may be wrong, but remember BE's were in solaris
using pool versions from around version6, and certainly be v28 which is
what was originally imported to freebsd before openzfs forked.



On 15 December 2015 at 08:41, Matthew Seaman <matthew@freebsd.org> wrote:

> On 15/12/2015 08:10, krad wrote:
> > I would use boot environments if you are zfs root so you can fail back
> > easily. I would also use a src build as that will definitely work.
> >
> > eg
> >
> > beadmn create -e old_root new_root
> > beadmn mount new_root /mnt
> > export DESTDIR=/mnt
> > cd /usr/src
> > make -j 12 buildworld &&
> >   make -j 12 buildkernel &&
> >   make installworld &&
> >   make installkernel &&
> >   mergemaster &&
> >   beadmn umount new_root &&
> >   beadmn activate new_root
> >
> > later on init 6
>
> There's more to do to fully update ZFS after this.  ZFS has a number of
> new features that are available in 10.x which you can use 'zpool
> upgrade' to enable.
>
> When you do that, it will tell you to update the boot blocks using
> 'gpart bootcode ....'  It is vitally important you do that, or you can
> render your system unbootable.
>
>         Cheers,
>
>         Matthew
>
>
>
>



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