Re: 12.4-STABLE to 13.3-STABLE upgrade

From: Gareth de Vaux <stable_at_lordcow.org>
Date: Mon, 29 Jul 2024 12:36:07 UTC
On Mon 2024-07-29 (13:45), Ronald Klop wrote:
> You do not provide much information on your system or upgrade method so I can't predict other issues you might run into, but as far as ZFS is concerned I think your upgrade should be fine.

Thanks. It's a ZFS on root system, raidz2, GENERIC kernel, Xeon E3-1220. I upgrade with the standard
source rebuild procedure.

> The bootcode is not touched by upgrading FreeBSD. Upgrading the bootcode is a separate manual step.
> And as long as you do not run "zpool upgrade" the ZFS bootcode and pools will stay compatible.

Sure, I update the bootcode after installworld to keep things in sync. The question is is there not
eg. a chance of downgrading features by going to an earlier dated 13.0-RELEASE version and not being
able to boot. Yes before running zpool upgrade.

> If you want the pools to not be upgraded "accidentally" you can do something like "zpool set compatibility=freebsd-12.4 <pool-name>".
> Different compatibility versions can be found here:
> # ls -l /usr/share/zfs/compatibility.d/

Thanks, I have no /usr/share/zfs directory though?


To rephrase: is it safer to go from

12.4-STABLE -> 13.3-STABLE, or

12.4-STABLE -> 13.0-RELEASE -> 13.3-STABLE