From nobody Mon Jul 29 12:36:07 2024 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WXdDJ2H7yz5RvTg for ; Mon, 29 Jul 2024 12:37:36 +0000 (UTC) (envelope-from stable@lordcow.org) Received: from mail.lordcow.org (lordcow.org [197.155.6.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "devaux.za.net", Issuer "E5" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXdDH4l12z4WWb for ; Mon, 29 Jul 2024 12:37:35 +0000 (UTC) (envelope-from stable@lordcow.org) Authentication-Results: mx1.freebsd.org; none Received: from lordcow.org (localhost [127.0.0.1]) by mail.lordcow.org (8.17.2/8.17.2) with ESMTPS id 46TCaDGq017703 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 29 Jul 2024 14:36:13 +0200 (SAST) (envelope-from lordcow@lordcow.org) X-Authentication-Warning: lordcow.org: Host localhost [127.0.0.1] claimed to be lordcow.org Received: (from lordcow@localhost) by lordcow.org (8.17.2/8.17.2/Submit) id 46TCa7c9017575; Mon, 29 Jul 2024 14:36:07 +0200 (SAST) (envelope-from lordcow) Date: Mon, 29 Jul 2024 14:36:07 +0200 From: Gareth de Vaux To: freebsd-stable@freebsd.org Cc: Ronald Klop Subject: Re: 12.4-STABLE to 13.3-STABLE upgrade Message-ID: References: <1660574701.5287.1722253522002@localhost> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1660574701.5287.1722253522002@localhost> X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on lordcow.org X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:37199, ipnet:197.155.0.0/21, country:ZA] X-Rspamd-Queue-Id: 4WXdDH4l12z4WWb 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 ". > 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