Operating System - HP-UX
1753962 Members
7347 Online
108811 Solutions
New Discussion юеВ

vgdisplay: Volume group not activated

 
bunty.....
Frequent Advisor

vgdisplay: Volume group not activated

today i needed to reboot my server,
after rebooting, i got this error:

# vgdisplay -v /dev/vg76
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg76".

i have lots of data under this VG, please help me.

thanks
bunty
16 REPLIES 16
Pete Randall
Outstanding Contributor

Re: vgdisplay: Volume group not activated

Try "vgchange -a y /dev/vg76".


Pete

Pete
bunty.....
Frequent Advisor

Re: vgdisplay: Volume group not activated

hi pete,
will i have the data using this command or will i loose my data?
John Payne_2
Honored Contributor

Re: vgdisplay: Volume group not activated

The VG needs to be activated before you can use the Volume. This normally happens on bootup. No data is modified/overwritten by activating the volume.

John
Spoon!!!!
Patrick Wallek
Honored Contributor

Re: vgdisplay: Volume group not activated

The purpose of vgchange is to activate a VG so your data is accessable. So NO your data should not be affected.

However you might want to check /var/adm/syslog/syslog.log and/or /etc/rc.log to see why this VG was activated when your machine booted.
Torsten.
Acclaimed Contributor

Re: vgdisplay: Volume group not activated

Be sure this is not a cluster volume group. In this case the disk is only visible from the node that runs the package.


In case of a bad disk try to activate in quorum mode:

vgchange -a y -q n vg76

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Patrick Wallek
Honored Contributor

Re: vgdisplay: Volume group not activated

I should add that once you activate the VG you will need to mount the filesystems from this VG. The easiest is to do a

# mount -a
bunty.....
Frequent Advisor

Re: vgdisplay: Volume group not activated

# vgchange -a y /dev/vg76
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c26t4d7":
Cross-device link
vgchange: Cross-device link
vgchange: Warning: couldn't query physical volume "/dev/dsk/c26t4d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c29t4d7":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vg76":
Quorum not present, or some physical volume(s) are missing.


#vgdisplay -v /dev/vg31
:::
:::
:::
--- Physical volumes ---
PV Name /dev/dsk/c20t4d7
PV Status available
Total PE 1151
Free PE 227
Autoswitch On


i think vg76 got corrupted and we cannt access this data
MarkSyder
Honored Contributor

Re: vgdisplay: Volume group not activated

This begins to look very familiar - I had a similar problem a few weeks ago that was caused by a disc having an unused lvol on it.

I'll try to dig out my notes so I can remind myself what HP told me to do. Meanwhile, you might like to click on my user profile and look at my questions - I asked about it on here and got some good answers.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
MarkSyder
Honored Contributor

Re: vgdisplay: Volume group not activated

My question was http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=985492

I hope this is of some help to you.

Mark
The triumph of evil requires only that good men do nothing