Comment 7 for bug 1987190

Revision history for this message
LucidBrot (lucidbrot) wrote :

I have the same problem. It came up because I upgraded from ubuntu 18.04 LTS to 22.04 LTS (via 20.04 and then immediately upgrading again). Mainly leaving my comment here to indicate that this is an issue that affects many users.

The github issue at https://github.com/openzfs/zfs/issues/13709#issuecomment-1292880434 contains a workaround to make the system boot again after the zfs version upgrade, but imo this needs to be fixed urgently because:

* Not everyone will find that workaround
* Even after that workaround, old snapshots are still inaccessible
* The fix seems to be easy for the repo maintainers, since the issue has been fixed in the latest version of zfs already ( as mentioned in https://github.com/openzfs/zfs/issues/13709#issuecomment-1433505102 )

@Walter thank you for the "How to apply the patch" guidance. I will try it once I have more time, since I noticed I already have zfs-dkms installed, but also a leftover kmod from 2020 and I don't feel confident that I won't break anything on accident.
Does it still make sense to apply your patch, or would I rather figure out how to install zfs directly from the source from github? As far as I understand, dkms builds the kernel modules from source anyway?

Cheers,
lucid