Bugzilla – Bug 864046
initrd don't manage lvm2 logical volumes on software raid and make system hang
Last modified: 2015-10-19 03:52:42 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 I found a real problematic configuration that need to be fixed. When you install a system based on lvm2 logical volume mapped on a software raid volume, the initrd don'tactivate the lvm raid volumes and so system may hang definitely. I add a simulation made by VirtualBox instance simulating what I have found. This is a critical issue because a correct configuration made system impossible to launch (see movie from 00:09:15...) There is also another bug in yast that bring up a "strange" error (see movie at 00:03:55) Reproducible: Always Steps to Reproduce: 1. 2. 3.
looks like mkinitrd issue
*** Bug 862070 has been marked as a duplicate of this bug. ***
Created attachment 578693 [details] installation sequence (1/2)
Created attachment 578694 [details] installation sequence (2/2)
I noticed that in systems where I recordered the problem in the mkinitrd there is no /etc/mdadm.conf. So I tried to recover with: cd /etc echo 'DEVICE containers partitions' > ./mdadm.conf mdadm --examine --scan --config=mdadm.conf >> ./mdadm.conf And it seem that system boot correctly But please verify that this is the only problem.
I'm facing the problem with lvm2, with all the workaround I've found that there is a process: lvmetad that sometimes freeze completely all the lvm commands in that situation e.g. "lvscan -v" freezes. If I kill the process lvscan -v complaining that there isn't lvmetad answer my question So probably there something related to lvmetad cacheing service?
Sorry for the late reply. I don't know whether you are still facing the problem. Would you please update to the newest lvm2 in opensuse13.2 or opensuse:Factory and see if the issue still exists? thanks.
I am closing this bug for no response.