1832801 Members
2870 Online
110045 Solutions
New Discussion

Re: strange Error

 
itrc55
Regular Advisor

strange Error

Hi,

 

i extend the VG with 50 Gb successfully, but when i try to extend the logical volume with 50 GB i facing this error massage

("LogicalExtentsNumber" is bigger than the maximum value allowed)

 

i have free PE more than 50 GB, please i need your support

 

vgdisplay -v /dev/oravg
--- Volume groups ---
VG Name                     /dev/oravg
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      5
Open LV                     5
Max PV                      16
Cur PV                      5
Act PV                      5
Max PE per PV               25599
VGDA                        10
PE Size (Mbytes)            4
Total PE                    115195
Alloc PE                    101612
Free PE                     13583
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 1638336m
VG Max Extents              409584

   --- Logical volumes ---
   LV Name                     /dev/oravg/ora_lv
   LV Status                   available/syncd
   LV Size (Mbytes)            10240
   Current LE                  2560
   Allocated PE                2560
   Used PV                     1

   LV Name                     /dev/oravg/date01_lv
   LV Status                   available/syncd
   LV Size (Mbytes)            258048
   Current LE                  64512
   Allocated PE                64512
   Used PV                     4

   LV Name                     /dev/oravg/lv_ibm
   LV Status                   available/syncd
   LV Size (Mbytes)            122800
   Current LE                  30700
   Allocated PE                30700
   Used PV                     3

   LV Name                     /dev/oravg/lv_ibm_shared
   LV Status                   available/syncd
   LV Size (Mbytes)            10240
   Current LE                  2560
   Allocated PE                2560
   Used PV                     1

   LV Name                     /dev/oravg/lv_ibm_was
   LV Status                   available/syncd
   LV Size (Mbytes)            5120
   Current LE                  1280
   Allocated PE                1280
   Used PV                     1


   --- Physical volumes ---
   PV Name                     /dev/disk/disk11
   PV Status                   available
   Total PE                    25599
   Free PE                     0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk5
   PV Status                   available
   Total PE                    25599
   Free PE                     0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk6
   PV Status                   available
   Total PE                    25599
   Free PE                     0
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk31
   PV Status                   available
   Total PE                    25599
   Free PE                     784
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/disk/disk48
   PV Status                   available
   Total PE                    12799
   Free PE                     12799
   Autoswitch                  On
   Proactive Polling           On

 

lvdisplay /dev/oravg/date01_lv
--- Logical volumes ---
LV Name                     /dev/oravg/date01_lv
VG Name                     /dev/oravg
LV Permission               read/write
LV Status                   available/syncd
Mirror copies               0
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            258048
Current LE                  64512
Allocated PE                64512
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   on
Allocation                  strict
IO Timeout (Seconds)        default

 

Thanks

17 REPLIES 17
Stephan.
Honored Contributor

Re: strange Error

Maximum LE per lvol is 65335 (not sure about the exact number, but around that), which means in you case with a PE size of 4MB you cannot extend it to more then ~ 255 GB.

 

hth

Stephan

Hakki Aydin Ucar
Honored Contributor

Re: strange Error

Which LV here did you try to extend ? and what was your command to do ?

itrc55
Regular Advisor

Re: strange Error

Hi,

And what is the solution now ?
OS is 11.31

Thanks
itrc55
Regular Advisor

Re: strange Error

Hi,

lvextend -L 307141 /dev/oravg/date01_lv
Warning: rounding down logical volume size to extent boundary at size "307140" MB.

Thanks
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.
V. Nyga
Honored Contributor

Re: strange Error

Hi,

sorry - wrong idea - I delete my reply.

But Stephan seems to be right - you only can extend till 65335 * 4 MB = 261340 MB = 255 GB


V.

*** Say 'Thanks' with Kudos ***
Hakki Aydin Ucar
Honored Contributor

Re: strange Error

You used more than max. LV value ine totally, and need to try smaller value

"307140" MB. > Mx. LV

OR you have to change Max. LV .

itrc55
Regular Advisor

Re: strange Error

Hi,

i tray with below this value bu is the same issue

lvextend -L 276480 /dev/oravg/date01_lv
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

How to change Max. LV

Thanks
V. Nyga
Honored Contributor

Re: strange Error

276480 is not below 261340 ;-)
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: strange Error

From lvcreate (from HP-UX 11.11):
Option -l : Allocate space to the log. vol. specified in logical extends. Range 1 to 65535 (the implementaion limit) ....

So 65535 * 4 MB = 262140 MB as maximum.

From Option -L : ... allocated space in megabytes.
... range from 1 to 16777216 (the implementaion limit) ....

So maybe only changeable with the value of PE size ....(in Kernel?)

*** Say 'Thanks' with Kudos ***
itrc55
Regular Advisor

Re: strange Error

Hi,

i increase the lvol to max size, becuase when i try to extend the lvol with 1 GB i facing the same error.

is there any way to change PE size from 4 MB to 16 MB for example.

my OS is 11.31

Thanks
Stephan.
Honored Contributor

Re: strange Error

There is no way to change the PE size as far as I know.

 

Backup, recreate vg with new parameters, restore would be my only solution.

 

Sorry to say ..

 

Best,

Stephan

Naj
Valued Contributor

Re: strange Error

Hi,

Looks confusing, which lv did you want to extend and what command do you perform.

//Naj

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
itrc55
Regular Advisor

Re: strange Error

Hi All,

thanks for your support, but the last question how to change this value Max_PE_per_PV by using vgmodify on 11.31. if i facing this issue on future

Thanks
Hakki Aydin Ucar
Honored Contributor

Re: strange Error

It cannot be changed unless the volume group is recreated from scratch as others said.

http://h30499.www3.hp.com/t5/LVM-and-VxVM/changing-a-VG-s-max-pe-value/m-p/2602799/highlight/true#M5080

itrc55
Regular Advisor

Re: strange Error

Hi,

how to check VG version? and is there any solution if i change the VG to other version ? and if there any solutions except
backup - remove Vg - create VG - restore

Thanks
Torsten.
Acclaimed Contributor

Re: strange Error

>> how to check VG version?

 

It is in your vgdisplay output:

 

 

VG Version                  1.0


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!   
itrc55
Regular Advisor

Re: strange Error

Hi,

thanks for you replay, my VG version is 1.0 if i convert it to version 2.2, Is there any benefit from that to resolve my problem.

Thanks