Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing hdisks from a volume group 2

Status
Not open for further replies.

Skeater

IS-IT--Management
Mar 13, 2001
52
US
Hard drives were replaced prior to the definition being removed from the volume group, now I cannot get rid of them in order to recreate the volume group.

When trying to remove the vg, I get the following error:

0516-052 varyonvg: Volume group cannot be varied on without a
quorum. More physical volumes in the group must be active.
Run diagnostics on inactive PVs.
PV Status: hdisk10 000b752d0f6d5b5c PVNOTFND
hdisk11 000b752d0f6d7060 PVINVG

When trying to varyon the vg I get this error:

# varyonvg glvg
PV Status: hdisk10 000b752d0f6d5b5c PVNOTFND
hdisk11 000b752d0f6d7060 PVINVG
0516-052 varyonvg: Volume group cannot be varied on without a
quorum. More physical volumes in the group must be active.
Run diagnostics on inactive PVs.
#


Any help would be greatly appreciated!
 
try to turn off the quorum requirement for the VG

use smit to get to the vg and turn quorum requirement off or straight from the command line try:

#chvg -Q'n' glvg

you could also try to reduce hdisk10 out of the VG

command is

#reducevg glvg hdisk10
 
Hi, Thanks for your help.

I tried both suggestions, but they aren't working because I can't "varyon" the vg:

# chvg -Q'n' glvg
0516-1260 chvg: Device configuration database has been updated with new informat
ion.
Since the volume group glvg is not varied on, if the glvg is of Big
Volume group type, chvg command must be run with the volume group varied
on for these attributes to be saved across exportvg/importvg operation.
# reducevg glvg hdisk10
0516-010 lqueryvg: Volume group must be varied on; use varyonvg command.
0516-882 reducevg: Unable to reduce volume group.
#
 
If you just want to get rid of the VG definitions so you can rebuild from scratch then:
exportvg glvg
 
Skeater,

You can force the varyon via:

varyonvg -f glvg

Then re-try the reducevg.

Best of luck PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
PSD,

Thank you VERY much! The -f at the end of the varyonvg command did the trick.

Skeater
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top