Operating System - HP-UX
1753785 Members
6872 Online
108799 Solutions
New Discussion юеВ

the Vg cannot be activated

 
SOLVED
Go to solution
MIGUEL CARABANO
Contributor

the Vg cannot be activated

At the time of activating to volume group it generates the following error:
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c2t2d0":
Device busy
vgchange: Could not attach to volume group "/dev/vgdbEVD" all of
its physical volumes.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.


hp9000 this enm to cluster

7 REPLIES 7
Uday_S_Ankolekar
Honored Contributor

Re: the Vg cannot be activated

Hi,

What's the output of pvdisplay -v /dev/dsk/..?

vgchange -a y (vg name) is the command to activate volume group

-USA...
Good Luck..
Sanjay_6
Honored Contributor

Re: the Vg cannot be activated

Hi Miquel,

Seems like the system is unable to access the PV's mentioned. Are you able to see those PV's in your ioscan output "ioscan -fnC disk".

If the disks are mirrored you can try and activate the VG with the quorum turned off. This will probably activate the Vg but you may still be unable to access some of the disks / LV's

To activate the vg with the quorum off, use this
If the Vg is part of a cluster configuration
vgchange -a e -q n /dev/vg_name
If the Vg is not part of cluster configuration
vgchnage -a y -q n /dev/vg_name

Try this out.

Hope this helps.

Thanks
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: the Vg cannot be activated

Hi:

It appears that you have a dead drive. If you lvols are mirrored, you could try vgchange -a y -q n to override quorum. If this is a mirrored configuration then this is not too bad but if not, get out your backups.
If it ain't broke, I can fix that.
Sanjay_6
Honored Contributor

Re: the Vg cannot be activated

Hi Miquel,

Further to my earlier post, if you are able to see the disks in ioscan, do a "diskinfo" on those disks to see whether you can read off the disks.

diskinfo -v /dev/rdsk/c?t?d?

Thanks
MIGUEL CARABANO
Contributor

Re: the Vg cannot be activated

When I make diskinfo of the disc, it generates that the size of the disc is zero (0). But when doing they ioscan shows Claimed to it without problems.

The client informs to me that the fault I appear, when they extinguished the devices of communication of a violent form by reasons for the client I have not been able to reinitiate hp9000 so that cluster the East correctly.

Sanjay_6
Honored Contributor

Re: the Vg cannot be activated

Hi Miquel,

If the diskinfo is returning the size of the disk as 0, it seems you have a faulty disk in your hands.

Replace the disk and see if the problem goes away.

hope this helps.

thanks
Sachin Patel
Honored Contributor

Re: the Vg cannot be activated

Hi Miguel,
Sounds like you have lost disk in your array. Don't do anything in hurry. don't pull out any disk and put it back without you know that which one is dead. If you loose two disk you will loose all data.
Find out which kind of software you have on that system to see which disk is bed. for example we use simplicity.

Or attach the vt??? to disk's controller and rebuild the disk.

Sachin
Is photography a hobby or another way to spend $