Operating System - HP-UX
1833777 Members
2154 Online
110063 Solutions
New Discussion

Re: LogicalExtentsNumber is bigger than the max value allowed

 
SOLVED
Go to solution
Popy
Regular Advisor

LogicalExtentsNumber is bigger than the max value allowed

Hi all,

I am trying to extend a LV to 275 GB but its allowing me only upto 265 GB. I have 1300 PEs(of 4 MB) free in that VG.
when I give,

lvextend -L 275000 /dev/vgdev04/lvol1

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

here is the Vgdisplay output...
--- Volume groups ---
VG Name /dev/vgdev04
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 13
Act PV 13
Max PE per PV 5281
VGDA 26
PE Size (Mbytes) 4
Total PE 66881
Alloc PE 65500
Free PE 1381
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

Am I touching the upper limit ??

Cheer's
Raneesh Vijayan
5 REPLIES 5
Luk Vandenbussche
Honored Contributor

Re: LogicalExtentsNumber is bigger than the max value allowed

Hi,

I think you have no enough PE free

1300 PE x 4 = 5200 MB free

What is the current size off /dev/vg04/lvol1

lvdisplay /dev/vg04/lvol1
Geoff Wild
Honored Contributor

Re: LogicalExtentsNumber is bigger than the max value allowed

Well - 275000 is NOT equal to 275GB...

1381 * 4 = 5524MB

Max is: 66881 * 4 = 267524

So, try lvextend -L 267524 /dev/vgdev04/lvol1

Rgds...Geoff


Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Pete Randall
Outstanding Contributor

Re: LogicalExtentsNumber is bigger than the max value allowed

There is a limit of 65535 LE's. With your 4MB LE's, that is about 260000 and you're asking for 275000. You could use the -l option and specify 65535.


Pete

Pete
James R. Ferguson
Acclaimed Contributor
Solution

Re: LogicalExtentsNumber is bigger than the max value allowed

Hi:

Yes, you have tried to use more than 65,535 logical extents -- the limit for a logical volume.

Your only choice is to recreate the *volume group* ('vgcreate') and specify a larger extent size ('-s pe_size'). The default pe_size of four (4) is small for today's disks and file systems.

Regards!

...JRF....
Popy
Regular Advisor

Re: LogicalExtentsNumber is bigger than the max value allowed

Thanks James,

Gonna kick off this VG after backup, will re-create with new PE size.

Thanks for all ur replys
Cheer's
RV