New LVM Volumes do not activate at boot time

  • 7014032
  • 31-Oct-2013
  • 31-Oct-2013

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
Logical Volume Manager (LVM)

Situation

A new LVM volume group and logical volume were added to the server. The new volume group does not get activated on boot, but can be activated manually after the server is up. In the example below, the lrg volume group was added along with the data logical volume associated with it.

LVM Output in /var/log/boot.msg
Scanning for LVM volume groups...
  Reading all physical volumes.  This may take a while...
  Found volume group "ceo" using metadata type lvm2
  Found volume group "lrg" using metadata type lvm2
  Found volume group "asm" using metadata type lvm2
  Found volume group "sys" using metadata type lvm2
Activating LVM volume groups...
  Partial mode. Incomplete logical volumes will be processed.
  3 logical volume(s) in volume group "sys" now active
  1 logical volume(s) in volume group "ceo" now active
  2 logical volume(s) in volume group "asm" now active
The lrg volume group is found, but no logical volumes are activated on it.

Contents of /etc/sysconfig/lvm includes:
LVM_VGS_ACTIVATED_ON_BOOT="sys ceo asm"

Resolution

Add the new volume group to LVM_VGS_ACTIVATED_ON_BOOT variable in /etc/sysconfig/lvm. If you remove all values in the LVM_VGS_ACTIVATED_ON_BOOT variable, then all volume groups and any new volume groups will be activated.

Change /etc/sysconfig/lvm from:

LVM_VGS_ACTIVATED_ON_BOOT="sys ceo asm"

to

LVM_VGS_ACTIVATED_ON_BOOT="sys ceo asm lrg"
-or-
LVM_VGS_ACTIVATED_ON_BOOT=""

Save and reboot the server.

Cause

Specific volume groups were defined with LVM_VGS_ACTIVATED_ON_BOOT in /etc/sysconfig/lvm. This limits the scope of volume groups that will be activated at boot time. No additional volume groups would be allowed activiation.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.