[PVE-User] ZFS Upgrade...

Marco Gaiarin gaio at lilliput.linux.it
Wed Sep 24 18:18:01 CEST 2025


Mandi! Alwin Antreich
  In chel di` si favelave...

> Did you look into the man page? `man zpool-features`
> You can find a list of features compatible with the grub version installed, see
> /usr/share/zfs/compatibility.d/

This is exactly one point: PVE8 have GRUB 2.06, so i think i've ro read
/usr/share/zfs/compatibility.d/grub2-2.06 that state:

 # Features which are supported by GRUB2 versions prior to v2.12.
 #
 # GRUB is not able to detect ZFS pool if snaphsot of top level boot pool
 # is created. This issue is observed with GRUB versions before v2.12 if
 # extensible_dataset feature is enabled on ZFS boot pool.
 #
 # This file lists all read-only comaptible features except
 # extensible_dataset and any other feature that depends on it.
 #
 allocation_classes
 async_destroy
 block_cloning
 device_rebuild
 embedded_data
 empty_bpobj
 enabled_txg
 hole_birth
 log_spacemap
 lz4_compress
 resilver_defer
 spacemap_histogram
 spacemap_v2
 zpool_checkpoint

so seems to me that this file list 'compatible feature', and i've to double
check it against the FS 'active' feature, so:

 root at svpve3:~# zpool get all rpool-backup | grep feature@ | grep active | tr -s ' ' | cut -d ' ' -f 2 | cut -d '@' -f 2 | sort
 embedded_data
 empty_bpobj
 enabled_txg
 extensible_dataset
 head_errlog
 hole_birth
 large_blocks
 log_spacemap
 lz4_compress
 project_quota
 spacemap_histogram
 spacemap_v2
 userobj_accounting
 vdev_zaps_v2
 zilsaxattr

but if i check a non-upgraded pool:

 root at svpve3:~# zpool get all rpool | grep feature@ | grep active | tr -s ' ' | cut -d ' ' -f 2 | cut -d '@' -f 2 | sort
 embedded_data
 empty_bpobj
 enabled_txg
 extensible_dataset
 hole_birth
 log_spacemap
 lz4_compress
 project_quota
 spacemap_histogram
 spacemap_v2
 userobj_accounting

And seems to me that also on a compatible pool there's still no match;
manapage also mention 'Read-only compatibility' (that suffices on boot), and
so i probably need to check every feature with dependencies and read
compatibility.

Really i don't understand... and my initial impression is that this note on
PVE docs is an autdated one, a leftover... but clearly i don't want to make
a server unbootable to make it a try. ;-)


> If your system is running in EFI mode already, then consider converting to
> systemd-boot. 

So, implicitly you confirm that it is GRUB that have some incompatibilities,
not GRUB in legacy mode... I've understood well?


Thanks.

-- 




More information about the pve-user mailing list