-
Notifications
You must be signed in to change notification settings - Fork 57
Description
So, sometimes I get kernel panics, for various reasons that look like "novelty hardware with RE'd drivers sometimes causes weird problems". Relatively often, when this happens, I cannot actually reboot back into the system.
I have this on my kernel command line:
root=/dev/stratis/fedora/root stratis.rootfs.pool_uuid=fccd3f78-2670-40b6-8e51-f1c326a4147b
And the system...starts booting normally. Notably, I can unlock the rootfs and have access to its contents (though writes seemingly always get discarded for ??? reasons). However, after the rootfs is mounted, nothing else in the fstab can be, resulting in boot failure:
(I'm using stratis-min here because dbus isn't running yet at this point in boot.)
The full service logs are:
(these screenshots overlap on their lower and upper portions, respectively)
Somehow it seems to "set up" a pool that needs repairing?
The only way for me to fix this is to boot with rd.rescue and do:
$ stratis-min pool start --name fedora --token-slot any --prompt
$ stratis-min pool stop --name fedora
The first command here takes a good 30 seconds to run but completes successfully, and then after running the second and rebooting, the pool is mounted normally, with all its contents intact. If I forget the second command, it still won't work.