Operating System - HP-UX
1826348 Members
4055 Online
109692 Solutions
New Discussion

Re: "LogicalExtentsNumber" is not bigger than current setting

 
Darrel Louis
Honored Contributor

"LogicalExtentsNumber" is not bigger than current setting

Hi All,

This is the third time I've seen this message on three different servers, with hp-ux 11.00

"LogicalExtentsNumber" is not bigger than current setting, when extending a Filsystem.

I've already logged this with HP, but got a answer that the FS has already been extended before.

Thanks,

Darrel
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: "LogicalExtentsNumber" is not bigger than current setting

The message really means what it says. You tried to extend the LV, but the number given is not larger than the current size.

What HP says is true. The logical volume may have been extended, but if the filesystem was not extended then you do not have use of the space.


An 'lvdisplay -v' for the LV in question should confirm this.
Darrel Louis
Honored Contributor

Re: "LogicalExtentsNumber" is not bigger than current setting

Patrick

I Can't agree with you.
I've just extended the FS with 24 Mb, see below.

lvdisplay -v /dev/vg00/lvol5
--- Logical volumes ---
LV Name /dev/vg00/lvol5
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1124
Current LE 281
Allocated PE 562
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 281 281
/dev/dsk/c2t6d0 281 281


Logical volume "/dev/vg00/lvol5" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
fsadm: /dev/vg00/rlvol5 is currently 1150976 sectors - size will be increased

lvdisplay -v /dev/vg00/lvol5
--- Logical volumes ---
LV Name /dev/vg00/lvol5
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1148
Current LE 287
Allocated PE 574
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t6d0 287 287
/dev/dsk/c2t6d0 287 287


Darrel
Patrick Wallek
Honored Contributor

Re: "LogicalExtentsNumber" is not bigger than current setting

Hmmmm....Interesting. Perhaps you need to look into getting the latest LVM cumulative patch for HP-UX 11.0.
Darrel Louis
Honored Contributor

Re: "LogicalExtentsNumber" is not bigger than current setting

Patrick,

I've found the problem.
We're using a script to extend the Filesystem, this is for all Unix flavours.
There seems to be an error in the script.
When I extend the FS manually everything goes OKE.
So it's the script that's doing a wrong calculation.

Thanks for your quick reply and help.

Regards

Darrel Louis