From nobody Mon Nov 07 06:40:56 2022 X-Original-To: dev-commits-src-main@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 4N5M7r2Zl8z4h7ZC for ; Mon, 7 Nov 2022 06:41:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4N5M7q0FJzz3MKT for ; Mon, 7 Nov 2022 06:41:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667803269; bh=AsEpJFK5F/XjnvdYe7kecrraUrOju9tD7hplnp2JAmc=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=bA5GmXKfCaJZ9HlF1IJ6pF/jFv1ixabvc9ScMdvjsapnFPUU6MUY3MJGbAEzMSzB4oTqmsON85/RQpKR4B4gDw2pzQj5FZ9OqEq881l3nP591AsUzkd76Lz+Bp4k34m845auuTsx24l6QL4YlKLi0OsKYAkVf3MCV353U0+q3DrHO2Rh1cjYixj4LZYnSJZq2hCSjhl8Ol7Ie72iuJQA4HXXKdbx1dfuOyLq70u0YXnmFlnvaKohO71StWp+zCOP2tLCPofKCNpW0xTfDzrz7toE1i1/i4KmKE2rzlMgjZFct4gk9pJHxpLC7OVYrXo/bzakmHFIpzYG3UoIAZ17+g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667803269; bh=MnDHc8GncCXJM48oiOB55DKrAvyWs6S1xYX0Bf0x0KY=; h=X-Sonic-MF:From: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WY18_VdU8CVFbDsci92THU0PQbedad3s_g NiNY1FQMYpIFRXNAjJ7vJKAMXR8UevvuyMyRYtfu0aeXzaUo_voGNPqzFnmx3jZvSLxDYxw9ne2I 4UnM6peffG4e1rycmLocoYUWJ9q9GmUCETffRqxm0IwkqJkaUQScUQdtzv35xMBhrIFIf9rW6gzM qmpF.wtZRR1OeHDe7s.EsvlNPJaD2lAFesqWyjwmnTiZlA9.z3rP8Db0Fvw_LsD9BF8CmGIUJ33F Wt0RgprDHZi1THeOPIlUNMndQT_8AxYIweEhjhu0vL9CHyo.Kvn8ygEcCcyO38kX90FTvEDXU8Qq nmRzR_3YViwu1LSYfFt0uW5XzrjqenslpQ63eAZMpj_ApxwrNFyOCVuMaLY74ZqYgaZqZ7T7R6.S c0.KhSYKQXKwspqfn4jMKn6S_E1VmlGnDIfFqU7HdAaeRxPNv3elydX2466HHaaI2MkoduXcePRq ppkNlrjnLtUnf0IlTTVXsmdJdwAnO4cpKwz8B16nzeV.rOL4vLxGvFoYwD0dUYCgFnNA4Rc5NoMU - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Mon, 7 Nov 2022 06:41:09 +0000 Received: by hermes--production-gq1-579bc4bddd-56gsn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a02c6ab974338f5a92e618282971ca43; Mon, 07 Nov 2022 06:41:07 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: 3bf53c4c8f53 - main - release(7): Enable zpoolupgrade rc script in ZFS based VM images Message-Id: <11759F16-631B-468B-A6A0-1613094F076B@yahoo.com> Date: Sun, 6 Nov 2022 22:40:56 -0800 To: "lwhsu@freebsd.org" , rpokala@freebsd.org, dev-commits-src-main@freebsd.org X-Mailer: Apple Mail (2.3731.200.110.1.12) References: <11759F16-631B-468B-A6A0-1613094F076B.ref@yahoo.com> X-Rspamd-Queue-Id: 4N5M7q0FJzz3MKT X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=bA5GmXKf; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.36 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.86)[-0.859]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.146:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.146:from] X-ThisMailContainsUnwantedMimeParts: N From: Ravi Pokala wrote on Date: Mon, 07 Nov 2022 05:33:05 UTC : >=20 > Hi Li-Wen, >=20 > If I'm reading this (and 72a1cb05cd23) correctly, this will run `zpool = upgrade' on the "zroot" pool on every boot. That's fine for the first = time a VM image is used, since presumably the root pool and the = bootloader were generated from the same sources. But if the root pool is = subsequently upgraded by the running VM, don't we need to make sure the = bootloader is also upgraded? Otherwise, don't we run into the = possibility of this new `zpoolupgrade' script enabling features which = are not supported by the bootloader? >=20 > There should be some mechanism for upgrading the bootloader, or else = something else that runs on the first boot from the VM image should = disable `zpoolupgrade' so it is only run the first time. There is also the issue of what of folks that want to maintain pools in a state compatible with a RELEASE or with a STABLE (the timing for a STABLE getting a zpool feature addition need not match main's addition of the feature), including possibly compatibility with an older loader involved. This could be an issue even for the first time a VM is booted. A means of disabling the upgrade or controlling its details might be needed. For example, someone might want to use just what is indicated in: /usr/share/zfs/compatibility.d/openzfs-2.1-freebsd (avoiding more recent additions, some of which might still be in development until openzfs-2.2 is final). > Thanks, >=20 > Ravi (rpokala@) >=20 > =EF=BB=BF-----Original Message----- > From: on behalf of Li-Wen Hsu = > Date: 2022-11-06, Sunday at 19:50 > To: , , = > Subject: git: 3bf53c4c8f53 - main - release(7): Enable zpoolupgrade rc = script in ZFS based VM images >=20 > The branch main has been updated by lwhsu: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D3bf53c4c8f53b1f19313e9c31415c7ee= e830cdc0 >=20 > commit 3bf53c4c8f53b1f19313e9c31415c7eee830cdc0 > Author: Li-Wen Hsu > AuthorDate: 2022-11-07 03:47:33 +0000 > Commit: Li-Wen Hsu > CommitDate: 2022-11-07 03:47:33 +0000 >=20 > release(7): Enable zpoolupgrade rc script in ZFS based VM images >=20 > This will enable VM access to all ZFS feature automatically, only on a > newly installed or provisioned VM or cloud instance. >=20 > Reviewed by: markj > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D37283 =3D=3D=3D Mark Millard marklmi at yahoo.com