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 12
Situation
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
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
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:12-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com