Skip to Content

Investigating LVM From Dracut

In my my last post, I covered finding logical volumes that were missing from LVM from within a live CD (which is effectively a whole standard environment). Working with dracut is quite a bit more limited.

Turns out that the commands I’m normally used to for operating and inspecting LVM volumes can all be accessed as a second parameter to the lvm tool like so:

$ lvm vgscan
$ lvm pvscan
$ lvm lvscan

For my particular issue, it led me to notice that block device of my root filesystem was missing due to a missing kernel driver…