When the FAI shell or any rescue environment does not show LVM volumes

Yesterday I had to boot a VM into a FAI PXE environment (I used “rescue” as a FAI action which drops me to a shell) because the file system on a LV reported several errors.

For my own surprise, the FAI shell / FAI environment showed the LVM information when running pvscan, vgscan and lvscan, but there were no devices under /dev (e.g. /dev/volg1/usr).

I tried every trick/command which is known to me in order to make the LVs show up under /dev, however at last the command “/etc/init.d/lvm2” did the trick and /dev/disks/usr etc. were available 🙂

Maybe sharing this helps someone out there 😉