Let'see what happen after creating a bpool and upgrading as command zpool status suggest
root@debian:/boot# grub-probe /boot
zfs
root@debian:/boot# zpool upgrade bpool
This system supports ZFS pool feature flags.
Enabled the following features on 'bpool':
multi_vdev_crash_dump
large_dnode
sha512
skein
edonr
userobj_accounting
encryption
project_quota
device_removal
obsolete_counts
spacemap_v2
allocation_classes
resilver_defer
bookmark_v2
redaction_bookmarks
redacted_datasets
bookmark_written
log_spacemap
livelist
device_rebuild
zstd_compress
draid
zilsaxattr
head_errlog
blake3
block_cloning
vdev_zaps_v2
redaction_list_spill
raidz_expansion
fast_dedup
longname
large_microzap
root@debian:/boot# grub-probe /boot
grub-probe: error: unknown filesystem
As you can see the fs is not more recognized, and at reboot it won't start (go to grub rescue console, and is not possible to recover it, only live-cd works). I have found a workaround: recreate the bpool with this command on live-cd
zpool create -f -o ashift=12 -d -o feature@async_destroy=enabled -o feature@bookmarks=enabled -o feature@embedded_data=enabled -o feature@empty_bpobj=enabled -o feature@enabled_txg=enabled -o feature@extensible_dataset=enabled -o feature@filesystem_limits=enabled -o feature@hole_birth=enabled -o feature@large_blocks=enabled -o feature@lz4_compress=enabled -o feature@spacemap_histogram=enabled -o feature@zpool_checkpoint=enabled -O acltype=posixacl -O canmount=off -O compression=lz4 -O devices=off -O normalization=formD -O relatime=on -O xattr=sa -O mountpoint=/boot -R /mnt bpool mirror /dev/disk/by-partlabel/BOOTPOOL1 /dev/disk/by-partlabel/BOOTPOOL2
Anyone know why grub failed to recognize zfs or a better solution instead of recreate bpool?