1847165 Members
6265 Online
110263 Solutions
New Discussion

about vgchange

 
SOLVED
Go to solution
thebeatlesguru
Regular Advisor

about vgchange

when i use vgdisplay to check box, i find something :
vgdisplay: Cannot display volume group "/dev/oradatvg20".
vgdisplay: Volume group not activated.

so i use vgchange to repair ,but there is something wrong :
vgchange -a y /dev/oradatvg20
vgchange: Activation mode requested for the volume group "/dev/oradatvg20" conflicts with configured mode.

what should i do ?

hihi
7 REPLIES 7
Animesh Chakraborty
Honored Contributor

Re: about vgchange

hi,
Try
#vgchange -c n /dev/vgxx
#vgchange -a y /dev/vgxx
Did you take a backup?
Kenny Chau
Trusted Contributor
Solution

Re: about vgchange

Is your VG is within the cluster? If yes, you need to deactivate it from the cluster first:

# vgchange -c n /dev/oradatvg20

Then activate it by:

# vgchange -a y /dev/oradatvg20

Hope this helps.
Kenny.
Kenny
thebeatlesguru
Regular Advisor

Re: about vgchange

i have used the command :vgchange -c n
but the cursor stop here,and cant finished for a long time,does the command take a long time?
hihi
Animesh Chakraborty
Honored Contributor

Re: about vgchange

Hi,
It should not take long time.
But never kill it.
Wait and it will come with some mesg.

Did you take a backup?
Michael Tully
Honored Contributor

Re: about vgchange

Hi,

If your disks are either part of a
cluster or even a SAN (Storage Area
Network) it can take a very long
time depending on the dnumber of
paths and LUN's it needs to check.

Michael
Anyone for a Mutiny ?
Carlos Fernandez Riera
Honored Contributor

Re: about vgchange

Let it be ... Let it be

That Vg is being used by the fellow box..


DO:

cmviewcl to see then conf. of your cluster.

Then go to active box and type vgdisplay.
Do not try to change configured access to that vg, at least, until you were more experienced.
unsupported
Animesh Chakraborty
Honored Contributor

Re: about vgchange

Hi Thebeatlesguru,
We are waiting for your feedback.
Are you working in clustered environment?
Was vgchange command successful ?

And also assign points as a small thanks :)

Cheers
Animesh
Did you take a backup?