SUSE Support

Here When You Need Us

Parameters in /etc/sysconfig/lvm on SLES12 do not change LVM behavior

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

Environment

SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)

Situation

The LVM_VGS_ACTIVATED_ON_BOOT and LVM_ACTIVATED_ON_DISCOVERED parameters in /etc/sysconfig/lvm do not affect the behavior of the LVM service on SLES12 after an upgrade from SLES11.

Resolution

Remove the /etc/sysconfig/lvm file.

Cause

This /etc/sysconfig/lvm configuration file is no longer used on SLES12 systems and is only a remnant of the old SLES11 system.  It is generated by a script included with the lvm2 package on SLES11 and is not contained within the package, itself; Therefore, it is not cleaned up when upgrading the lvm2 package to the version on SLES12. 

Additional Information

The default behavior for lvm2 on SLES12 is to automatically activate volume groups and logical volumes contained within said groups for all discovered physical volumes as long as all physical volumes in the volume group are present, making both of these sysconfig parameters obsolete. 

The auto-activation behavior can be tuned in the /etc/lvm/lvm.conf file by uncommenting the auto_activation_volume_list parameter and including or omitting logical volume names should any volumes not be activated automatically.

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:7021008
  • Creation Date: 22-Jun-2017
  • 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

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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