Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Re: LVM: initrd doesn't run 'vgchange -ay'

$
0
0
Hello,

Thank you very much for your help.

I have tested and tried many things and am still stuck. I have stored a script in /etc/initramfs-tools/scripts/local-bottom/ that calls the following commands:

Code:

modprobe dm_modsleep 1lvm pvslvm vgslvm lvsvgchange -aylvm lvssleep 20
I have attached the output.

It seems that the kernel recognises the LVM correctly, but it fails at the interface to the device mapper to switch the LVs to “active”.

I already searched for the problem with the missing /dev/mapper/control and came across the suggestion to explicitly run modprobe dm_mod. But that doesn't change anything either.

Something else must be happening somewhere further down the line, because once the system has booted up ‘normally’, I can run “vgchange -ay” without any problems and it has the desired effect.

Does anyone have any ideas about what might be going wrong here?

Many thanks & best regards,
Meinhard
devmapper.png

Statistics: Posted by meinhards — Sun Aug 24, 2025 11:37 am



Viewing all articles
Browse latest Browse all 3546

Trending Articles