1838230 Members
5982 Online
110125 Solutions
New Discussion

Re: vgchange problem

 
SOLVED
Go to solution
khilari
Regular Advisor

vgchange problem

Hi people. Well, when i try running this command on both nodes i am getting this error.

# vgchange -a y /dev/vg01
vgchange: Activation mode requested for the volume group "/dev/vg01" conflicts
ith configured mode.

Thanks.
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: vgchange problem

vgchange -c n /dev/vg01

then you can vgchange -a y it on one node.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Rita C Workman
Honored Contributor

Re: vgchange problem

Is the volume mounted or active anywhere else ? Do you have a MC/SG environment ?

It may be SG or just set as exclusive somewhere so try:

For service guard:
vgchange -c n /dev/vgname
vgchange -a n /dev/vgname
vgchange -a y /dev/vgname

For Non MC/SG:
vgchange -a n /dev/vgname
vgchange -a y /dev/vgname

Rgrds,
Rita


Geoff Wild
Honored Contributor

Re: vgchange problem

Sorry for the double post - but after you are done, vgchange -a n vg01 and re-add it bacjk to the cluster (if you wish to)

vgchange -c y /dev/vg01

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: vgchange problem

Once the VG has been converted to "Cluster Aware" status via vgchange -c y on any node then you can only activate the VG in exclusive mode ("vgchange -a e") or shared mode ("vgchange -a s"). You can also simply do a vgchange -c n to make the VG "Cluster Unaware" so that a vgchange -a y will then work BUT don't forget to change it back to Cluster Aware later if you are using this VG as part of an MC/SG cluster.
If it ain't broke, I can fix that.