1834137 Members
2241 Online
110064 Solutions
New Discussion

Max LVs possible in a VG

 
SOLVED
Go to solution
PVR
Valued Contributor

Max LVs possible in a VG

Hi Friends

Can ayone tell me the answer of the following

Max LVs possile in a VG ? Is it 255 r more ?

Max VGs possible in a system. I think we can change these parameter usng "maxvgs"

Max PVs possible in a VG ?

Is there any limit to the max extents possible in a LV / VG ?

Is there any size limtation to the root (/) file system in a HP_UX 11i sytem ?

Thanks in Advance.
Don't give up. Try till success...
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Max LVs possible in a VG

From man lvcreate:

"Up to 255 logical volumes can be created in one volume group."


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Max LVs possible in a VG

And from man vgcreate:

"-p max_pv
Set the maximum number of physical volumes that the volume group is allowed to contain. The default value for max_pv is 16. The maximum number of physical volumes can be a value in the range 1 to 255."


Pete

Pete
Devender Khatana
Honored Contributor
Solution

Re: Max LVs possible in a VG

Hi Pramod,

Attached document defines various limites of LVM.
Max LV's in a VG are 255 only.
Max VG per system are 256.
Max PV per VG is again 255.
Max Extents in a PV is 65535.

Max LVOL size should be the limit for / file system which is 2GB.

Regards,
Devender
Impossible itself mentions "I m possible"
PVR
Valued Contributor

Re: Max LVs possible in a VG

Thanks a ton Pete and Devender for your quick resonse.
Don't give up. Try till success...