[CentOS] LVM problems

Tue Jul 3 08:25:32 UTC 2018
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Tue, 3 Jul 2018, Thomas Schweikle wrote:

> On Mon, Jul 2, 2018 at 7:53 PM, Ulf Volmer <u.volmer at u-v.de> wrote:
>> On 02.07.2018 18:23, Thomas Schweikle wrote:
>>
>>> System boots into emergency mode because it does not find any of the
>>> logical volumes defined, because it does not enable the LVM volume
>>> group.
>>>
>>> Giving "lvm", then "vgchange -a y", followed by CTRL-D continues to
>>> boot to full multiuser mode.
>>
>> maybe 'rootdelay=5' as kernel parameter will solve this issue.
>
> No. Even rootdelay=20 does not solve this issue. Volume groups are
> just not activated automatically and thus no active volume group is
> found and system boots into emergency mode. Simple question is: where
> and how are volume groups activated while booting? Any way to make
> this system activate those volume groups and not just boot into
> emergency mode? Any configuration files?

How did you get in this state?

Might you want to regenerate your initramfs with dracut?

jh