activate LVM volume group at boot

Hi, I’ve reinstalled OpenSUSE 13.1 on a system that has two volume groups. Only the volume group that contains root and home (or had something written to during the installation process) is active after boot. This was not the case before reinstalling. The second volume group needs to be manually activated after a reboot with

kvmhost-3:/home/user # vgchange -a y /dev/vg2

. I don’t find where this would be enabled (anything I’ve come up with doesn’t apply or is outdated). Thanks in advance for any feedback.

Going through the logs shows

2014-09-02T10:46:50.510186+01:00 linux systemd-udevd[456]: timeout: killing '/sbin/lvm pvscan --cache --activate ay --major 8 --minor 49' [652]  2014-09-02T11:50:57.381968+01:00 kvmhost-3 systemd-udevd[8900]: message repeated 134 times:  timeout: killing '/sbin/lvm pvscan --cache --activate ay --major 8 --minor 49' [8972]] 2014-09-02T11:50:58.050751+01:00 kvmhost-3 systemd-udevd[8900]: '/sbin/lvm pvscan --cache --activate ay --major 8 --minor 49' [8972] terminated by signal 9 (Killed) 2014-09-02T11:50:57.341636+01:00 kvmhost-3 systemd-udevd[8904]: message repeated 134 times:  timeout: killing '/sbin/lvm pvscan --cache --activate ay --major 8 --minor 16' [9044]] 2014-09-02T11:50:58.051653+01:00 kvmhost-3 systemd-udevd[8904]: '/sbin/lvm pvscan --cache --activate ay --major 8 --minor 16' [9044] terminated by signal 9 (Killed) 2014-09-02T11:50:57.361536+01:00 kvmhost-3 systemd-udevd[8920]: message repeated 134 times:  timeout: killing '/sbin/lvm pvscan --cache --activate ay --major 8 --minor 33' [8942]] 2014-09-02T11:50:58.182522+01:00 kvmhost-3 systemd-udevd[8920]: '/sbin/lvm pvscan --cache --activate ay --major 8 --minor 33' [8942] terminated by signal 9 (Killed)

So that would likely be the reason why this volume group is not activated at boot time. The logs don’t seem to indicate a reason why pvscan doesn’t work, any ideas towards that? Thanks!

Did you try to run pvscan yourself (from a terminal) to gather more information?

Hi Henk, thanks for the reply and apologies for the delay in posting back. Yes I had done so and pvscan doesn’t show any output at all. The problem is moot now, I have had some issues with getting this system to boot after losing grub2.cfg (I posted in another thread about this) and had to reinstall as I couldn’t resolve the boot issue. After reinstalling both vg’s are handled correctly after booting (active and usable).