From nobody Mon Jul 29 18:45:30 2024 X-Original-To: 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 4WXnNz1261z5RlTS for ; Mon, 29 Jul 2024 18:45:39 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10olkn2095.outbound.protection.outlook.com [40.92.42.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXnNy1drnz4SjR for ; Mon, 29 Jul 2024 18:45:38 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=M624nRY6; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 40.92.42.95 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=m90PqX2+46OMgeV4f8UR0oH9B2qeQPQGh06xPfu4iA2VTOVvfqByr+JwURR2bxDhXHYYaUOPvR0K8lm4hdB4QUgxhKdu93zF7zMWaonzIplXGOh9KQtJiv+aXJoIa6f2t9wIb1k5DldemSSue3L7Kjj0ixcW3J783w32oktsEuhNIUpJg+pZi4lXloO5eNr2etkTyq9Wnf5Vlf8yiVjgRvazmBVWu+djMQQb2MXQUrjmYe+Z82txUwzlQRq6HyrDOGXrsOd/FYefEZpxbIwImP78KFkHuygnQTl7iALkU7o1mxvs3T4CMmXjnv8k/7u8zpI26ajmS3dTN1m8ooCIbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jh775H3j89J/Kv6caSl4boPuXKBPe9/pmGVAOVnkfAQ=; b=g70/Oqle6ZtAeAWO1e1xAUp0JCAu9LjJpyVryz9sbnOvsquRNZYPiN5UpW6zJjg8Bbj4g8Tvo6nv2Xsj/b0Sg1AIeZVlQzkiiGUqjc4OEZJcObTEbYHE6u3asJOa/5YCPO0O9VRQ/1d8VtuqkAf8hVwUp049l8T6Vc4MrWt6YUXBqyxdifNbtPI41q+DMImmgqXWs3wmOQePFpvvWENPdFzWLfsiz0wi092ucHolIZH1MSyrTOHHMd/Cdlnft7J7ng9xuStnS15ZngeLijVSdH5oJPJDZwH/MihZLSJhdehqSo+Ek/dpNDhqyKLuGvoffuXiES0N1i0hJqniWLX0Gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jh775H3j89J/Kv6caSl4boPuXKBPe9/pmGVAOVnkfAQ=; b=M624nRY6y7tSWJlJBD2XWkDKoPZ20aF9+Kp515lRrQj/ca3q2WaUnrcV7ky40fBlS08h8rKXdO3LCx5ozyNmnOfia2U54WWztefhj+QhFMae7fMXxD9Plt1Y5qtqH0cAsuJqHuGjwGHda2I/wrMEqmK/EwDTi9nCAQ0QYZFy+/hPVNRkYtO0S2UQHOBEfPT1E951dzdKR5C/QjcwYgeMQcgtrhIAbIXB8NZQvCwIGdMyFzDj9Uy2Kd3FuYWjuHIELS1iGzQgLQk9bTE4Uny6V2RRvzB5FLgFmmrgDwfWB0mDnEQYY7pqbHUwrOJU1MhhHH7AAR0eR81JYU6pA8O+Dw== Received: from CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) by CO1PR11MB5028.namprd11.prod.outlook.com (2603:10b6:303:9a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7807.28; Mon, 29 Jul 2024 18:45:34 +0000 Received: from CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::bffd:9e35:4afa:a747]) by CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::bffd:9e35:4afa:a747%6]) with mapi id 15.20.7807.026; Mon, 29 Jul 2024 18:45:32 +0000 Message-ID: Date: Mon, 29 Jul 2024 11:45:30 -0700 User-Agent: Mozilla Thunderbird Subject: Re: 12.4-STABLE to 13.3-STABLE upgrade To: stable@freebsd.org References: <1660574701.5287.1722253522002@localhost> Content-Language: en-US From: "Edward Sanford Sutton, III" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [65imA6b9pks3ZBDXcky9A/noxHlhSwW3] X-ClientProxiedBy: CH5P222CA0009.NAMP222.PROD.OUTLOOK.COM (2603:10b6:610:1ee::25) To CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) X-Microsoft-Original-Message-ID: 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 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB4770:EE_|CO1PR11MB5028:EE_ X-MS-Office365-Filtering-Correlation-Id: 2410dba8-f53f-4d20-4a5b-08dcaffea018 X-Microsoft-Antispam: BCL:0;ARA:14566002|461199028|5072599006|19110799003|8060799006|440099028|3412199025; X-Microsoft-Antispam-Message-Info: wltsgaBzKHNvPgg6f9ntEIog42VeC580C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E1cmFmaTVRNTlqdlJq?= =?utf-8?B?M0xiQ1oxQVZndHVjUThmNEhNYzhVcURVZjV3bFBRWDFnVXNjMzk4ZVhveU1y?= =?utf-8?B?UW1yK0NBY2JpNnorNUc3SVRpdVU1TVhEVmsveGtPcHkzeUdKalUva3dreHow?= =?utf-8?B?TXBmT1daN2ViTGdLeHBpekxZRWFWMVhyU3g3QWt0MDh0ZzNYbjNZSEtyVHZn?= =?utf-8?B?OEpibjltUmROQklVbWlSeWFnUzFsc0U1UXNjY0c3R3ZnK0tVYW1lZHgyRzBU?= =?utf-8?B?aEVqNUs5Sk5uU2RacDRmZnlaWWtPRytHb2l3bVJEWXRjbHJrc1EyTHZrOVNF?= =?utf-8?B?aENpd3pxSHc0RS92Ui9qN09FNisyTGl3a2pUVFZ2NW5mY2ZBYjRGRjBWZUM2?= =?utf-8?B?Q1RvbURRUVpSbUJ1ZHk5Y2pyczlvemtVeS9mZ3VaK1RaUnVOeC9XbzFPalo1?= =?utf-8?Q?mUxYLSkVJXNXTlw78Fts7ArPrD2jOOwD1FLu2XTz92zs=3D?= X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-d1079.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 2410dba8-f53f-4d20-4a5b-08dcaffea018 X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4770.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2024 18:45:32.4749 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5028 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.63 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.86)[0.864]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/16]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; TO_DN_NONE(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.42.95:from]; MLMMJ_DEST(0.00)[stable@freebsd.org]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; RCVD_IN_DNSWL_NONE(0.00)[40.92.42.95:from] X-Rspamd-Queue-Id: 4WXnNy1drnz4SjR On 7/29/24 05:36, Gareth de Vaux wrote: > 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. The boot code needs to be new enough to understand features of the ZFS pools it needs to boot. I'm not aware of any incompatibilities with eh boot loader booting older versions. If you need the pool to be compatible with an older version of FreeBSD, then you want to specify the relevant compatibility version or don't upgrade the pool after creating it with said older version of FreeBSD. You may be able to get past the initial limitations of compatibility of a FreeBSD version to ZFS pools by installing sysutils/openzfs when it is newer than what is in that FreeBSD version and compatible with the older system. 12 isn't an officially supported FreeBSD version anymore, but openzfs was available through ports for it. >> 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? You also haven't upgraded to 13 yet. 13 switched from the solaris forked ZFS code to openzfs which I think is when such compatibilities are added. Upgrading to 13+ does not upgrade your zpool, running `zpool upgrade` with a pool name or -a does and that is when a newer bootloader that is compatible with the features is needed and when you won't be able to use that pool on an older FreeBSD. If you install the port on 12 you will also have that compatibility list but under the /usr/local equivalent path but you do not need to specify a compatibility to not run a zpool upgrade. Keep in mind that having ZFS as a kernel module from the ports tree means you will want to keep it rebuilt+reinstalled when the kernel gets upgraded or disable it before that next boot until you do so. Disabling won't work if it is a root-on-zfs type of pool and if the next boot doesn't have a compatible ZFS kernel module in base (such as upgrading from one version of 12 to another version of 12, or upgrading to 13+ but of a version with ZFS older than what was installed from ports and too old to have support for all enabled/activate zpool features). > To rephrase: is it safer to go from > > 12.4-STABLE -> 13.3-STABLE, or > > 12.4-STABLE -> 13.0-RELEASE -> 13.3-STABLE > I'd just do the leap in one run unless seeing /usr/src/UPDATING give any intermediate required step. The newer 13 releases and stable has fixes that you will want. When following stable, I haven't grabbed release versions in between; I usually haven't waited so long to go from one major version to the next. 14 also brings some nice performance so you may consider if you are able and want to go to it. Off the top of my head an example was somewhere around FreeBSD 10(?) where upgrading further required installing up to a certain version of 10 first due to compiler changes so that you had a compatible compiler for building later versions. I didn't find out if that could be worked around by having a newer compatible compiler installed from ports/packages. Maybe there are similar gotchas I have forgotten about for later versions but the UPDATING file should be checked.