Search This Blog

Tuesday, June 7, 2011

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

Problem :

testnodep-root> vgdisplay -v /dev/vg_wasdb_01
--- Volume groups ---
VG Name /dev/vg_wasdb_01
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 6
Open LV 6
Max PV 255
Cur PV 50
Act PV 50
Max PE per PV 15800
VGDA 100
PE Size (Mbytes) 32
Total PE 86750
Alloc PE 83720
Free PE 3030
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

LV Name /dev/vg_wasdb_01/lv_data01
LV Status available/syncd
LV Size (Mbytes) 2097120
Current LE 65535
Allocated PE 65535
Used PV 40

testnodep-root> lvextend -L 2097152 /dev/vg_wasdb_01/lv_data01
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

In HP UNIX LVM, Logical Volume of maximum size would be created of LE = 65535

With PE Size of 32MB we can create logical volume of maximum size of 1.999969482421875 TB.
Now LV Size = (LV Size) 2097120 % PE Size (32) = 65535 (LE) which is max size logical volume we can create.

Solution:
If we recreate the Vg with PE SIZE more than 32, the above problem can be resolved
Suppose for example if we are creating Vg with PE size 128:

Now (LV Size) 2097120 % PE Size (128) = 16383.75, which is not reaching to the max size logical volume we can create.

With PE Size of 128MB we can create logical volume of maximum size of 7.9998779296875 TB

For HP-UX 11.23 Following patch is also available to resolve the issue:
PHCO_36744   11.23 LVM commands cumulative patch
PHKL_36745     11.23 LVM commands cumulative patch
PHCO_37939   11.23 LVM Striped/Mirror + 16TB LV Enablement

1 comment:

  1. Unix Journey Of Indrajit: Lvextend: "Logicalextentsnumber" Is Bigger Than The Maximum Value Allowed. >>>>> Download Now

    >>>>> Download Full

    Unix Journey Of Indrajit: Lvextend: "Logicalextentsnumber" Is Bigger Than The Maximum Value Allowed. >>>>> Download LINK

    >>>>> Download Now

    Unix Journey Of Indrajit: Lvextend: "Logicalextentsnumber" Is Bigger Than The Maximum Value Allowed. >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete