Re: 12.4-STABLE to 13.3-STABLE upgrade

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Mon, 29 Jul 2024 11:45:22 UTC
Van: Gareth de Vaux <stable@lordcow.org>
Datum: maandag, 29 juli 2024 11:24
Aan: freebsd-stable@freebsd.org
Onderwerp: 12.4-STABLE to 13.3-STABLE upgrade
> 
> Hi guys, I need to upgrade from 12.4-STABLE r373297 (27 Dec 2023) to 13.3-STABLE
> 
> Do I need to upgrade first to 13.0-RELEASE to bridge some compatibilities?
> 
> I'm worried for example about updating ZFS bootcode but actually downgrading
> to 13.0-RELEASE and bricking the system.
> 
> I assume I can then source upgrade from -RELEASE to -STABLE without issue.
>  
> 
> 
> 


Hi,

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.


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/

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.

Regards,
Ronald.