1833677 Members
4361 Online
110062 Solutions
New Discussion

max vg size (HPUX 11.00)

 
SOLVED
Go to solution
Irving Lopez
Advisor

max vg size (HPUX 11.00)

I?m cannot create a volume group with 144 GB.
Which is the max size for a volume group in HPUX 11.00.
Can i change the max size elsewhere ?

thanks.
TAMA
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: max vg size (HPUX 11.00)

Hi Irving:

The LVM table is restricted to one extent where the table size is essentially (max_pe * max_pv). 'max_pe' can range from 1-65535 and 'max_pv' from 1-255 -- quite a range. Once once the volume group is created, non of these attributes can be changed, so be careful how you configure things.

Thus, the problem of creating large volume groups can be attacked by by adjusting one or more of the parameters 'max_pv', 'max_pe', and 'pe_size'.

See the man pages for 'vgcreate' for more details.

...JRF...
Patrick Wallek
Honored Contributor

Re: max vg size (HPUX 11.00)

Here is the text from document KBRC00000716 in the TKB. If you are getting this error,then this may help. You should be able to create a large volume group as the mas file size in 11 is 2TB if I remember correctly.

If this document doesn't help, the errors you are getting would help the rest of us to determine what the problem is.

***************************
vgcreate error: file too large
DocId: KBRC00000716

Updated: 3/23/01 7:43:00 AM


PROBLEM

When attempting to create a new volume group with vgcreate, an error occurs: file too large

CONFIGURATION

HP-UX 10.X, 11.X

RESOLUTION

Since the LVM data structures must fit into a single extent on the disk, the "file too large" error occurs when the extent size is smaller than the LVM data structures.

As disks continue to increase in size, there is not enough room in the header files to create a table large enough to track all the physical extents.

On the one hand, you can reduce the size of the LVM data structure by reducing the maximum number of logical volumes the volume group can contain (max_lv), or, the maximum number of physical volumes the volume group can contain (max_pv).

On the other hand, you can increase the size of the physical extents (pe_size) so that the LVM data structure will fit into a single extent.

# vgcreate -l (number of max logical volumes) -p (number of max physical volumes) -s (size in megabytes of physical extent) /dev/vg## /dev/dsk/c#t#d#

By default, these parameters are set to:

max_lv 255
max_pv 16
pe_size 4MB
Printaporn_1
Esteemed Contributor

Re: max vg size (HPUX 11.00)

by the way , increase PE size to 8
enjoy any little thing in my life