Operating System - HP-UX
1834640 Members
3284 Online
110069 Solutions
New Discussion

Unable to fully extend the Logical Volumes

 
Ade Odimayo_1
Occasional Advisor

Unable to fully extend the Logical Volumes

I have just created 2 large Logical Volumes stripped across 6 disk with capabilities for largefiles.
Though there is space on the disks. I am unable to extend LV further. Error message
#lvextend -L 280000 /dev/vg06/lvol7 /dev/dsk/c24t8d0 /dev/dsk/c24t9d0>
Warning: rounding down logical volume size to extent boundary at size "279984" M
B for striping.
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

Can anyone help??

TIA




6 REPLIES 6
Ashwani Kashyap
Honored Contributor

Re: Unable to fully extend the Logical Volumes

I think your PE size is not enough to support the large values . Every PV has a man no. of PE and the default size is 4 MB per PE .
I think here you are hitting the roof .

DO a vgdisplay -v to check the no. of PE's and PE size .

PE size can be assogned during vgcreate .
James R. Ferguson
Acclaimed Contributor

Re: Unable to fully extend the Logical Volumes

Hi Tim:

The error string containing the keyword 'LogicalExtentsNumber' suggests that you used the '-l' option and *not* '-L'. Is that true?

Regards!

...JRF...
Ted Ellis_2
Honored Contributor

Re: Unable to fully extend the Logical Volumes

do a vgdisplay on the volume group in question and see how many pe are there vs used... sounds like you are hitting a limit on the volume group specs....
Michael Elleby III_1
Trusted Contributor

Re: Unable to fully extend the Logical Volumes

Helloo-

Looks like you may have hit the number of physical extents allowed for the volume group that the lvol exists in.

Look at the Total PE which tells you the max num of extents that can exist in your volume group. then multiply by size of 1 extent and you'll get the total # of extents that can be allocated to your lvol in the vol group he exists in.

Hope this helps.

Mike-
Knowledge Is Power
Anil C. Sedha
Trusted Contributor

Re: Unable to fully extend the Logical Volumes

Tim,

I agree with the rest of the guys here.

Check out your pv extent size.

Also make sure that you didn't mean "l" which uses kbytes instead of Megabytes.

or "L" which mean Megabytes.

Regards,
Anil
If you need to learn, now is the best opportunity
Sudhakar.J
Advisor

Re: Unable to fully extend the Logical Volumes

Hi,

There cud be 2 reasons one is if u r using OS ver 10.20 u will be able to create max LV of 128gb becuz in 10.20 HP uses disk layout ver 2.0 this problem fixed in 11.0 where HP users disk layout 3.0.And the other reason cud be max PE per PV which will be set while creating a VG itself.

Hope this will solve ur problem.

Best regds
Sudhakar.J