Comment 4 for bug 2041739

Revision history for this message
Danny (dannyp777) wrote :

I think this is related to several of the other reported bugs related to zfs:

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1982897 - 26/07/2022
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1632694 - 12/10/2016
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1635115 - 20/10/2016
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1688424 - 05/05/2017
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1867542 - 15/03/2020

What I don't understand is how update-grub worked with zfs on prior versions of Ubuntu. And why does the problem temporarily resolve itself if I recreate bpool from scratch? And why hasn't it been fixed already given the problems been causing issues for up to 7 years? I thought ZFS was supposed to be quite well supported by Linux distro's or are people moving away from it now? It has great features.

The comments on bug 1867542 imply grub doesn't like zsys snapshots. Or maybe zsys changes some flag on the pool that grub doesn't like? Or maybe grub doesn't like some zfs feature flag enabled on one of my zpools? I have attached a file showing the currently enabled flags.

I have been without my personal laptop for over 7 weeks now as I took a break from looking at this problem as it was doing my head in. After several weeks break I have now pulled all the latest Ubuntu Mantic v23.10 updates and will reboot and see if it made any difference. Otherwise I try and go through all my zpool flags and see if there is anything that doesn't look compatible.