freebsd-update, ZFS, and ver 8.2

krad kraduk at gmail.com
Tue Dec 15 12:40:01 UTC 2015


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 at 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
>
>
>
>


More information about the freebsd-questions mailing list