Operating System - HP-UX
1824363 Members
3271 Online
109669 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
brenda perez
Occasional Advisor

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

Hello,

Wondering if someone can help me out - I'm working on an rx6600 running hp-ux 11.23 and am trying to extend a logical volume on a production system. The vgdisplay output is below. I want to use up the free PE in the volume group and extend the one logical volume in the volume group.
I used the command -
lvextend -L 1457952 /dev/vgproj/project
to max out the logical volume (which is currently 1TB).

I get the response -
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.
but that is the amount when I multiply PE size x total PE. I even tried lowering the number a bit and get the same thing. Am I missing something?? Any ideas greatly appreciated and points will be assigned. Thanks


--- Volume groups ---
VG Name /dev/vgproj
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 51200
VGDA 6
PE Size (Mbytes) 16
Total PE 91122
Alloc PE 65535
Free PE 25587
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
5 REPLIES 5
AwadheshPandey
Honored Contributor

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

lvextend -L 1457952 /dev/vgproj/project
u need to concentrate on -L option it should be size in mb.
you have 25587*16 399.x GB approx
and trying to extend much more.
man lvextend
Regards,

It's kind of fun to do the impossible
brenda perez
Occasional Advisor

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

Thanks for your response. As far as I understand it, with the -L option I should be specifying the new LV size, which I want to be 1.4TB hence the 1457952. If I specified 400MB wouldn't it try to set the logical volume to that amount with the -L option?? I have read the man page and documentation that is where I got the command using the -L with the 1457952 unless I'm not reading it correctly.
James R. Ferguson
Acclaimed Contributor
Solution

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

Hi:

Your problem is that you have reached the implementation limit of 65,535 physical extents.

With your value of 1457952 MB and an extent size of 16 you would need 91122 extents which is more than 65535.

Regards!

...JRF...
rariasn
Honored Contributor

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

Hi:

"man vgcreate", view "-s pe_size" option and "-e max_pe" option.

rgs,

brenda perez
Occasional Advisor

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

Thanks for the responses - will increase PE size to accomodate 1.4TB file system.