1845250 Members
1628 Online
110244 Solutions
New Discussion

Increse MAX PE per PV

 
Marcelo De Florio_1
Frequent Advisor

Increse MAX PE per PV

How can i increse the value MAX PE per PV ?

MDF
Marcelo De Florio
5 REPLIES 5
Michael Tully
Honored Contributor

Re: Increse MAX PE per PV

Hi,

The MAX PE is set at the creation of
your volume group. For instance if
you create your volume group with a
4Gb disk, and your try to add a 9GB
disk to that group you will only
get 4Gb. Only way to get the extra
portion of the disk is to create
a new volume group and use that disk
then or add it to a group that has 9GB
disks. This unfortunately cannot be
changed.

HTH
-Michael
Anyone for a Mutiny ?
James R. Ferguson
Acclaimed Contributor

Re: Increse MAX PE per PV

Hi:

You can define the 'max_pe', 'max_lv', 'max_pv' and 'pe_size' only at the the time the 'vgcreate' is issued. Afterwards, you must recreate the volume group to alter these.

Have a look at the man pages for 'vgcreate' (1M) for more information.

In the case of 'max_pe', you will note that "the default value for max_pe is 1016. However, if the size of any physical volume exceeds 1016 times the pe_size, the default value for max_pe is adjusted to match the physical volume size."

Regards!

...JRF...
S.K. Chan
Honored Contributor

Re: Increse MAX PE per PV

Don't think you can do this after the VG had been created. It can only be set during the VG creation.

man vgcreate

to see these options
Sanjay_6
Honored Contributor

Re: Increse MAX PE per PV

Hi Marcelo,

You cannot increase the max pe value for an existing VG. This value can be defilned at the time of fresh VG creation. Here is a thread on the effect of having a large max_pe value for a VG,

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=57ac521709016d57ea/screen=ckiDisplayDocument?docId=200000052474625

Hope this helps.

Regds
Bill McNAMARA_1
Honored Contributor

Re: Increse MAX PE per PV

Backup your system with ignite and restore it..

Other than that, you can create a new vg and copy lv's across..

I belive someone had a script to do that, search around the forums and you'll eventually find it.

Later,
Bill
It works for me (tm)