SUSE Support

Here When You Need Us

New LVM Volumes do not activate at boot time

This document (7014032) is provided subject to the disclaimer at the end of this document.

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.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7014032
  • Creation Date: 31-Oct-2013
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.