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

lvextend error.... The size entered exceeds the allowable limit

SOLVED
Go to solution
DnD_1
Regular Advisor

lvextend error.... The size entered exceeds the allowable limit

I tried to extend the lv from 2080000 to 2100480 MB but got this error.

The size entered exceeds the allowable limit that can be used with
this type of file system. The size has been rounded down to the
nearest multiple of 32 Mbytes (the physical extent size) that does
not exceed the limit.

and it suggested this size ; 1048544

---------------------------
Logical Volume: lv
Volume Group: vgbanking
Space Available in Volume Group (Mbytes): 377536
Current Logical Volume Size (Mbytes): 2080000

New Size (Mbytes):

2100480
-----------------------------




Root1:/db#vgdisplay -v vgbanking
--- Volume groups ---
VG Name /dev/vgbanking
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 6
Act PV 6
Max PE per PV 16002
VGDA 12
PE Size (Mbytes) 32
Total PE 76798
Alloc PE 65000
Free PE 11798
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/banking/lvdb
LV Status available/syncd
LV Size (Mbytes) 2080000
Current LE 65000
Allocated PE 65000
Used PV 5


--- Physical volumes ---
PV Name /dev/dsk/c23t0d0
PV Status available
Total PE 16000
Free PE 0
Autoswitch On

PV Name /dev/dsk/c23t0d1
PV Status available
Total PE 16000
Free PE 0
Autoswitch On

PV Name /dev/dsk/c23t0d2
PV Status available
Total PE 16000
Free PE 0
Autoswitch On

PV Name /dev/dsk/c23t0d3
PV Status available
Total PE 16000
Free PE 0
Autoswitch On

PV Name /dev/dsk/c23t0d4
PV Status available
Total PE 9599
Free PE 8599
Autoswitch On

PV Name /dev/dsk/c23t0d5
PV Status available
Total PE 3199
Free PE 3199
Autoswitch On

Anyone please advise ?
4 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: lvextend error.... The size entered exceeds the allowable limit

Shalom,

Suggestion:
lvextend -l 76798

Lower case l does not require you to calcuate conversions to megabytes.

If the space is available it will allocate.

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
James R. Ferguson
Acclaimed Contributor

Re: lvextend error.... The size entered exceeds the allowable limit

Hi:

Well, 2100480/32 = 65640

...which would mean that 65,640 physical extents each of 32MB would be needed to accomodate your logical volume. This exceeds the LVM limit of 65,535; hence your error.

Regards!

...JRF...
Roopesh Francis_1
Trusted Contributor

Re: lvextend error.... The size entered exceeds the allowable limit

can you please post the syntax with error which you tried.
Thanks
Jamie A Dennis
Frequent Advisor

Re: lvextend error.... The size entered exceeds the allowable limit

Hello DnD,

Please run fstype -v to find the type of your filesystem, and uname -a to find the operating system release level. Filesystem size limitations per OS level and Filesystem type can be found at :

http://docs.hp.com/en/5971-2383/5971-2383.pdf

Best regards,

Jamie
"If hindsight is 20/20, why don't more people use their rearview mirrors?" - James (Jamie) A. Dennis, 1998