Operating System - HP-UX
1834560 Members
2999 Online
110069 Solutions
New Discussion

volume group cannot be extended

 
SOLVED
Go to solution
Jacques Carriere
Regular Advisor

volume group cannot be extended

The following is the error message I'm getting when I try to extend vg02. Can this limitation be modified?

========================================
Volume group "vg02" currently contains 16 physical volumes, which is the maximum number of physical volumes it was configured to contain. This volume group cannot be extended.
=========================================
Jacques
7 REPLIES 7
Laerte Cardoso
Frequent Advisor

Re: volume group cannot be extended

Jacques,
It´s a default configuration, can´t be modified. In new creations, the default configuration can be modified:
vgcrete -p 255 (the maximum) vg_name.
Torsten.
Acclaimed Contributor
Solution

Re: volume group cannot be extended

If you are running hp-ux 11.23 or 11.31, this could be your solution:

Usage: vgmodify
[-e MaxPhysicalExtents]
[-p MaxPhysicalVolumes]
[-l MaxLogicalVolumes]
[-v]
[-n]
[-r]
[-B bootable]
VolumeGroupName {[pv_path] [pv_path] ....}

or vgmodify -o [-v] [-r] [-B bootable] VolumeGroupName {[pv_path] ....}

or vgmodify -t [-v] [-n] [-B bootable] VolumeGroupName {[pv_path] ....}


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!   
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: volume group cannot be extended

If you are using 11iv3, you can use the vgmodify command to modify the the max_pv attribute.
Dying is the last thing that I will do.
James R. Ferguson
Acclaimed Contributor

Re: volume group cannot be extended

Hi Jacques:

If you are running 11.31 you can use 'vgmodify' to alter the maximum number of physical volumes in the volume group. If you are running 11.23, and you have patches PHCO_36744, PHKL_36745 and PHKL_36746, then you can use 'vgmodify', too.

If you are running 11.11 or earlier, you must totally recreate the volume group from scratch, this time specifying '-p max_pv' when you execute 'vgcreate'.

For 'vgmodify', see:

http://docs.hp.com/en/B2355-60130/vgmodify.1M.html

Regards!

...JRF...
Jacques Carriere
Regular Advisor

Re: volume group cannot be extended

Unfortunately, this server is at 11.11 and cannot be modified.
Torsten.
Acclaimed Contributor

Re: volume group cannot be extended

IIRC, Robert-Jan attached an *unsupported* version for 11.11 recently.
With some luck you can find it ...

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!   
Pete Randall
Outstanding Contributor

Re: volume group cannot be extended