Hi! Folowing setup: 4x HD 500TB 1st: /boot 4GB, remaining part LVM 2nd, 3rd, 4th all LVM LVM volumes: - 30G /root - 8G /var - 8G /tmp - 200G /var/log/pgsql - 800G /var/spacewalk - 4G swap 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. How can I make the system to enable the volume group and automatically boot to full multiuser mode? Looks there is something broken at some point and ths system does not enable the volume group. Any idea? -- Thomas
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. best regards Ulf
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? -- Thomas