How to change accidently activated clustered volume groups back into unclustered state

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

Environment

SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)
SUSE Linux Enterprise Server 12

Situation

By accident, existing volumes groups on a non mirrored or clustered device have been changed from a local managed into a clustered state as shown by vgs output:

sles12sp2lvm:/etc/lvm # vgs -a
  Skipping clustered volume group vg2
  Skipping clustered volume group vg1
  VG     #PV #LV #SN Attr   VSize  VFree
  system   1   1   0 wz--n- 25.75g 10.75g


Now the change needs to be reverted.

Resolution

Please run the command

vgchange -cn <list_of_volume_groups> --config 'global { locking_type = 0}'

to disable the affected volume groups and change the locking_type to 0. Then execute

vgchange -ay

to activate those volume groups again.

Additional Information

Example output:

sles12sp2lvm:/etc/lvm # vgchange -cn vg1 vg2 --config 'global { locking_type = 0 }'
  WARNING: Locking disabled. Be careful! This could corrupt your metadata.
  Volume group "vg1" successfully changed
  Volume group "vg2" successfully changed
sles12sp2lvm:/etc/lvm # vgchange -ay vg1 vg2
  1 logical volume(s) in volume group "vg1" now active
  1 logical volume(s) in volume group "vg2" now active

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:7018716
  • Creation Date: 17-Mar-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@suse.com

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center