Operating System - HP-UX
1847604 Members
6713 Online
110265 Solutions
New Discussion

lvextend: "LogicalExtentsNumber" is not bigger than current setting.

 
SOLVED
Go to solution
himel
Occasional Contributor

lvextend: "LogicalExtentsNumber" is not bigger than current setting.

I want to extend the logical volume...but I can't. One message shown that "lvextend: "LogicalExtentsNumber" is not bigger than current setting".

 

bash-4.1# vgdisplay -v vg90
--- Volume groups ---
VG Name                     /dev/vg90
VG Write Access             read/write
VG Status                   available
Max LV                      511
Cur LV                      1
Open LV                     1
Max PV                      511
Cur PV                      2
Act PV                      2
Max PE per PV               131072
VGDA                        4
PE Size (Mbytes)            64
Total PE                    94
Alloc PE                    47
Free PE                     47
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  2.0
VG Max Size                 8t
VG Max Extents              131072

   --- Logical volumes ---
   LV Name                     /dev/vg90/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            3008
   Current LE                  47
   Allocated PE                47
   Used PV                     1


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

   PV Name                     /dev/disk/disk55
   PV Status                   available
   Total PE                    47
   Free PE                     47
   Autoswitch                  On
   Proactive Polling           On

bash-4.1# lvextend -L 3008 /dev/vg90/lvol1
lvextend: "LogicalExtentsNumber" is not bigger than current setting.

 

2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: lvextend: "LogicalExtentsNumber" is not bigger than current setting.

Your logical volume is already 3008 MB in size.  You can't extend to the same size.

 

If you do a 'bdf' and the size of the file system is smaller than 3008 MB, then you need to use either fsadm or extendfs to extend the file system.

 

If you have Online JFS, you can use fsadm. For example, if your LV is mounted at /mylv, then you would do 'fsadm -b 3008m /mylv'.  

 

If you don't have Online JFS, then you have to unmount the LV and run 'extendfs -F vxfs /dev/vg90/rlvol1' (this assumes a vxfs file system type).

Torsten.
Acclaimed Contributor
Solution

Re: lvextend: "LogicalExtentsNumber" is not bigger than current setting.

You need to specify the new TOTAL value, e.g. 2* 3008 !

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!