Operating System - HP-UX
1758043 Members
2476 Online
108867 Solutions
New Discussion юеВ

lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

 

lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

I want to extend a LV to 1146080 MB, but when I try, it appears the next error.

# lvextend -L 1140080 /dev/vg01/dctm
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

I have seen that the limit extension for a LV is 65535 Physical extension.

65535x16--> 1048560 MB.

root@ejhp47:/# vgdisplay vgEE
--- Volume groups ---
VG Name /dev/vgEE
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 11
Act PV 11
Max PE per PV 65535
VGDA 22
PE Size (Mbytes) 16
Total PE 75763
Alloc PE 9070
Free PE 66693
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

Can I modify the vg parameters PE Size and MAx PE or I have to create a new vg? If these parametes can be changed, how can I do it?

PE Size (Mbytes) 16
Max PE per PV 65535
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

max_pe is already at maximum, sou you can only destroy the whole VG and re-create with a bigger PE size.


your maximum size of an lvol is 65535 * PE_size

1048560MB for your config.

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!   
SKR_1
Trusted Contributor

Re: lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

You need to create a new VG with physical extent size of 32 MB and with Max PE.

Thanks

SKR