HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Future size of vg need to be change

 
Viney Kumar
Regular Advisor

Future size of vg need to be change

HI All

If future size of vg is 80 gb. How can we edit it


Thanks
4 REPLIES
Pete Randall
Outstanding Contributor

Re: Future size of vg need to be change

I think we need more info.

I could launch into a discourse on LVM default PE sizes and MaxPE per PV sizes, but that may not be what you're asking. Could you be more specific?

What size is it now? How is that size defined/limited? How is it going to grow?


Pete

Pete
Ganesan R
Honored Contributor

Re: Future size of vg need to be change

Hi Vinay,


If the VG is already created and the os is 11.11 or earlier than you cannot modify it.

You need to look at the following values in vgdisplay output.

Max PV
Max PE per PV
PE Size (Mbytes)

These all defines the maximum VG size. Whereas in 11.23/11.31 we have vgmodiy command to increase these parameters.

Hope this helps


Best wishes,

Ganesh.
Viney Kumar
Regular Advisor

Re: Future size of vg need to be change

Hi Peter,



I was create one vg by below mention cmd
vgcreate -V 2.0 -s 4 -S 80g /dev/vg10 /dev/disk/disk3.


and now i want to change it to 250g, how can i do.
Pete Randall
Outstanding Contributor

Re: Future size of vg need to be change

Unless you are able to use the vgmodify command, you have to vgremove/vgcreate in order to change this value because the PE size and MaxPE are set at creation time.

The vgmodify command became available in either 11iV2 (11.23) or 11iV3 (11.31).


Pete

Pete