Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2022 12:10:18 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        "Patrick M. Hausen" <pmh@hausen.com>, Warner Losh <imp@bsdimp.com>, tsoome@freebsd.org, Li-Wen Hsu <lwhsu@freebsd.org>, current@freebsd.org
Subject:   Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)
Message-ID:  <671B1F82-A167-45D0-8BCC-4717F433BC11@yahoo.com>
In-Reply-To: <20221109205846.Horde.Rm5dcHB7p4mSbfFmxReYEDW@webmail.leidinger.net>
References:  <202211070339.2A73dJlO027991@gitrepo.freebsd.org> <20221107121514.Horde.nulS9Wg1s3yzAsXXkuJRBa9@webmail.leidinger.net> <CANCZdfrdc%2BDbv6sDyDLcWNpXnWScEmpUsGu3q8%2BMbZRjDS8eig@mail.gmail.com> <20221108105053.Horde.eqgFiBJe2ngGAj6BkXcv5-Z@webmail.leidinger.net> <20221109134610.Horde.JB7ibQTWprHbmIUfhg7JY7f@webmail.leidinger.net> <CANCZdfptmipq%2BsS0AQ1%2B7EmLT-7YdKv8s%2BnCV7ON1Qy6-C6N9A@mail.gmail.com> <460205F9-5D59-4033-813B-C34E01BFD6C4@hausen.com> <20221109204509.Horde.lh5parVrWDSJ7kQCFa64hqe@webmail.leidinger.net> <5AFBB434-BB3B-4B5A-AB32-11DAFD03A2AD@hausen.com> <20221109205846.Horde.Rm5dcHB7p4mSbfFmxReYEDW@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 9, 2022, at 11:58, Alexander Leidinger <Alexander@leidinger.net> =
wrote:

> Quoting "Patrick M. Hausen" <pmh@hausen.com> (from Wed, 9 Nov 2022 =
20:49:37 +0100):
>=20
>> Hi,
>>=20
>>> Am 09.11.2022 um 20:45 schrieb Alexander Leidinger =
<Alexander@leidinger.net>:
>>> But "zpool set feature@edonr=3Denabled rpool" (or any other feature =
not in the list we talk about) would render it unbootable.
>>=20
>> Sorry, just to be sure. So an active change of e.g. checksum or =
compression algorithm
>> might render the system unbootable but a zpool upgrade never will? At =
least not intentionally? ;-)
>=20
> If you mean "zpool upgrade", then no (modulo bugs). OpenZFS uses the =
feature flags instead of zpool upgrade.

I'm confused by that answer:

QUOTE of "man zpool-upgrade" output:
NAME
     zpool-upgrade =E2=80=93 manage version and feature flags of ZFS =
storage pools
. . .
DESCRIPTION
     zpool upgrade
             Displays pools which do not have all supported features =
enabled
             and pools formatted using a legacy ZFS version number.  =
These
             pools can continue to be used, but some features may not be
             available.  Use zpool upgrade -a to enable all features on =
all
             pools (subject to the -o compatibility property).
. . .
     zpool upgrade [-V version] -a|pool=E2=80=A6
             Enables all supported features on the given pool.
. . .
END QUOTE

zpool upgrade is a way of changing the feature flags, is it  not?

zpool upgrade also does not consider the loader's status, so far
as I know. If FreeBSD's kernel/world supports something that the
loader would reject, teh result is still rejection for booting.
As I understand, some folks ran into this for
com.delphix:head_errlog until an updated loader was available
and then installed.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?671B1F82-A167-45D0-8BCC-4717F433BC11>