After upgrading to Fedora 38 my system failed to boot. An on-screen Stack Trace was the result, headed by the line:
device-mapper:cache: bad config value for cleaner: 1
This was clearly not a kernel problem, because the same kernel for Fedora 37 was still booting fine. Must be a userspace problem, possbly dracut but more likely lvm.
After removing a cachesettings "cleaner=1" the system was able to boot again. Unfortunately this was not trivial, both these failed:
lvchange --cachesettings "" /dev/base/lukscache
lvchange --cachesettings "default" /dev/base/lukscache
The only way to fix this was:
- vgcfgbackup
- remove the cleaner=0 setting in the backup file
- vgcfgrestore
Reproducible: Always
Steps to Reproduce:
1. Have a running Fedora 37 systeme with lvm-cache with cachesettings "cleaner=1"
2. Upgrade to Fedora 38
3. Try to boot
Actual Results:
Boot failure
Expected Results:
Booting system
For me this is no urgent matter because all is working again, but a less knowledgeable user may be stuck with a broken system.