Operating System - HP-UX
1752564 Members
4469 Online
108788 Solutions
New Discussion юеВ

Modify the PE size in 11.31

 
rajasekar.m
Advisor

Modify the PE size in 11.31

Hi,

Please let me know how to modify the PE size.

Default - 4 MB, in which condition i need to change the PE size.

what is the command to modify PE size
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: Modify the PE size in 11.31

Hi:

You are looking for the 'vgmodify' command, but it can't modify 'pe_size'.

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

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: Modify the PE size in 11.31

Hi,

the pe_size is set during vgcreate ([-s pe_size]), it cannot be changed later.

If you hit the limits, you can increase the max_pe value in 11.23 or 11.31 LVM ver 1.

With LVM ver 2.x you can set a maximum VG size:

"To create a Version 2.0 volume group using 32 MB extents and a maximum size of 1 PB:
# vgcreate -V 2.0 -s 32 -S 1p /dev/vg01 /dev/disk/disk50"

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!   
James R. Ferguson
Acclaimed Contributor

Re: Modify the PE size in 11.31

Hi:

So, if you *must* modify the 'pe-size' of your volume group, simply backup your data; 'vgexport' the volume group [because that's the fastest way to eliminate it]' 'pvcreate' your physical volumes (again); and 'vgcreate' using arguments that create an LVM geometry that better meets your current needs.

But, then you already knew this...

Regards!

...JRF...