APPLIES TO:
Operating Systems:
- RHEL5
- RHEL6
- RHEL7
SYMPTOMS
Need to activate cluster volume group
SOLUTION
Check, is this volume group is clustered:
# vgdisplay vgtest01 --config 'global {locking_type = 0}' | grep Clustered
WARNING: Locking disabled. Be careful! This could corrupt your metadata.
Clustered yes
Now you have two ways.
# vgchange -cn vgtest01
Volume group "vgtest01" successfully changed
- If the cluster cannot achieve quorum, or clvmd is unable to function for whatever reason or you need to temporarily activate the volume group.
# vgchange -cn vgtest01 --config 'global {locking_type = 0}'
WARNING: Locking disabled. Be careful! This could corrupt your metadata.
Volume group "vgtest01" successfully changed
# vgchange -ay vgtest01
Before activating clustered volume group in non cluster environment, ensure that this volume group not in use in other cluster members.
No comments:
Post a Comment