Re: changes to the zfs boot (was: Re: git: 72a1cb05cd23 - main - rc(8): Add a zpoolupgrade rc.d script)

From: Alexander Leidinger <Alexander_at_leidinger.net>
Date: Wed, 09 Nov 2022 21:59:04 UTC
Quoting "Patrick M. Hausen" <pmh@hausen.com> (from Wed, 9 Nov 2022  
22:47:28 +0100):

> Hi,
>
>> Am 09.11.2022 um 22:38 schrieb Patrick M. Hausen <pmh@hausen.com>:
>>> Am 09.11.2022 um 22:26 schrieb Alexander Leidinger  
>>> <Alexander@leidinger.net>:
>>> On quick look I haven't found a place where a compatibility  
>>> setting is used for the rpool during the creation, so I can't  
>>> point out what the exact difference is.
>>> Given that empty_bpobj is not in the list of the boot code, it  
>>> can't be the same, some limit of enabled features has to be in  
>>> place during initial install, and your example has to be different.
>>
>> That feature was imported into FreeBSD in 2012 so it should be
>> enabled in every pool created since then.
>
> I apologize, should have included that in the last mail.
> This is a current FreeBSD 13.1-p2 hosting system we run.
>
> Boots quite fine ;-)

There are several in the list which are not in the list in zfsipl.c.  
So that list is not the full truth...

Bye,
Alexander.

> -----------
> [ry93@pdn006 ~]$ zpool get all zroot|grep feature
> zroot  feature@async_destroy          enabled                        local
> zroot  feature@empty_bpobj            active                         local
> zroot  feature@lz4_compress           active                         local
> zroot  feature@multi_vdev_crash_dump  enabled                        local
> zroot  feature@spacemap_histogram     active                         local
> zroot  feature@enabled_txg            active                         local
> zroot  feature@hole_birth             active                         local
> zroot  feature@extensible_dataset     active                         local
> zroot  feature@embedded_data          active                         local
> zroot  feature@bookmarks              enabled                        local
> zroot  feature@filesystem_limits      enabled                        local
> zroot  feature@large_blocks           enabled                        local
> zroot  feature@large_dnode            enabled                        local
> zroot  feature@sha512                 enabled                        local
> zroot  feature@skein                  enabled                        local
> zroot  feature@userobj_accounting     active                         local
> zroot  feature@encryption             enabled                        local
> zroot  feature@project_quota          active                         local
> zroot  feature@device_removal         enabled                        local
> zroot  feature@obsolete_counts        enabled                        local
> zroot  feature@zpool_checkpoint       enabled                        local
> zroot  feature@spacemap_v2            active                         local
> zroot  feature@allocation_classes     enabled                        local
> zroot  feature@resilver_defer         enabled                        local
> zroot  feature@bookmark_v2            enabled                        local
> zroot  feature@redaction_bookmarks    enabled                        local
> zroot  feature@redacted_datasets      enabled                        local
> zroot  feature@bookmark_written       enabled                        local
> zroot  feature@log_spacemap           active                         local
> zroot  feature@livelist               active                         local
> zroot  feature@device_rebuild         enabled                        local
> zroot  feature@zstd_compress          enabled                        local
> zroot  feature@draid                  enabled                        local
> -----------


-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF