System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

what is the maximum size for one VG, PV and LV in HP-UX

SOLVED
Go to solution
senthil_kumar_1
Super Advisor

what is the maximum size for one VG, PV and LV in HP-UX

Hi

I have some questions?

1)What is the Maximum supportable size for one VG, one PV and on LV in HP-UX 10.20, 11.11, 11.23, 11.32?

2)what are the parameters that define this?



13 REPLIES
Pete Randall
Outstanding Contributor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Steven E. Protter
Exalted Contributor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Shalom,

-p parameter (physical disk limit) or -s of the vgcreate commandd impacts how much space you can actually assign to a volume group.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jestin John Chacko
Regular Advisor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Dear,

Here is a document regarding lvm that will give you a good idea ,hope this will help you a lot in understanding lvm like me.
Md. Minhaz Khan
Super Advisor

Re: what is the maximum size for one VG, PV and LV in HP-UX

**Max size of VG is below:

VG total size = PE size * Max PE per PV * Max PV

**Max size of a PV/LUN if PE size=4 MB:

Our current PE size=4 MB
Max PV/LUN size=4*65535=262140 MB=256 GB
senthil_kumar_1
Super Advisor

Re: what is the maximum size for one VG, PV and LV in HP-UX

what is the Max PE per PV in all followings

HP-UX 10.20
HP-UX 11.00
HP-UX 11.11
HP-UX 11.23
HP-UX 11.32


And what is the default Max PE per PV when creating a VG.?

can we not change Max PE per PV after creating a VG.?
Pete Randall
Outstanding Contributor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Please read the document I referred you to originally. Here is part of what it says:

"Starting with HP-UX 11i v2 (11.23), the supported limits of LVM volume groups has gradually increased. In HP-UX 11i v3 (11 .31), LVM delivers significant performance, scalability, usability, and availability enhancements. After the initial release of HP-UX 11iv3 in February 2007, three updates occurred in September 2007, March 2008, and September 2008. This white paper summarizes the LVM supported limits for different volume group versions supported on HP-UX releases."

http://docs.hp.com/en/6054/LVM_Limits_White_Paper_V4.pdf


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Hi:

> can we not change Max PE per PV after creating a VG.?

Yes, if you are running 11.31 or if you have an 11.23 realease with patches PHCO_38717 and PHKL_36244.

No, if you are running any release earlier than 11.11 .

Regards!

...JRF...
senthil_kumar_1
Super Advisor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Hi

I have one physical disk with space of 100GB.

I am createing a VG (vg01) using this disk with default PE size (4MB) and Default Max Per PV.

At this situation, will the following parameter be created?

1) PE size - 4Mb
2) Max PE per PV - 25600.

1)Am i correct?

2)Then, this PE size and Max PE per PV will be taken for all othere PV if we are adding future?

3)So in futuer we have to add PV upto 100GB only?

4)othere wise it will be taken only 100GB?

Pls answer one by one.
prisca3
Occasional Advisor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Hi

I have one physical disk with space of 100GB.

I am createing a VG (vg01) using this disk with default PE size (4MB) and Default Max Per PV.

At this situation, will the following parameter be created?

1) PE size - 4Mb
2) Max PE per PV - 25600.

1)Am i correct? All of the 100gb will be avaialbale to the vg you create(25600x4mb=100gb)

2)Then, this PE size and Max PE per PV will be taken for all othere PV if we are adding future?

100GB is all that VG can use with 25600 max PE settings. Consider using the -s option to specify a different PE size, go for 8mb instead of 4mb, so you will be able to add more disks to the VG later and grow the size of the VG

3)So in futuer we have to add PV upto 100GB only?

You will need to read that document to understand more about VGs

4)othere wise it will be taken only 100GB?

Pls answer one by one.
Lijeesh N G_1
Respected Contributor
Solution

Re: what is the maximum size for one VG, PV and LV in HP-UX

Hi Senthil,

I have one physical disk with space of 100GB.

I am createing a VG (vg01) using this disk with default PE size (4MB) and Default Max Per PV.

At this situation, will the following parameter be created?

1) PE size - 4Mb
2) Max PE per PV - 25600.

1)Am i correct?
==>
PV Size -- 100GB
PE Size -- 4 MB
Max PE/PV -- PV Size / PE Size
-- 100GB / 4 MB
-- 25600

So you ca have Max 25600 PE's in this VG.

2)Then, this PE size and Max PE per PV will be taken for all othere PV if we are adding future?
==>
Yes, If you add above 100 also, VG will take maximum 100GB only.

3)So in futuer we have to add PV upto 100GB only?
==>
No, you can change the Max PE/PV parameter by "vgmodify command, but its required a patch, so that you can add more than
100GB as well.

4)othere wise it will be taken only 100GB?
==>If you are not changing the parameter, it will take only 100GB.

Reagrds,
LIJEESH N G
Lijeesh N G_1
Respected Contributor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Hi,

Which is your OS version??
==>If it is 11.31, by default vgmodify command will work.
==>If it is 11.23, you have to install LVM commands patch PHCO_38717 along with its dependencies PHKL_31500 and PHKL_32095.

Regards,
LIJEESH N G
SoorajCleris
Honored Contributor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Hi

)Then, this PE size and Max PE per PV will be taken for all othere PV if we are adding future?

yes it will be and earlier case you were not able to edit it, but you can edit the max PE per PV using vgmodify command.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: what is the maximum size for one VG, PV and LV in HP-UX

Hi,

If you have bigger size disks and if you dont wannt your LVs in very small sizes, I would always suggest you to go with PE of 32MB.

regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie