1846884 Members
3359 Online
110256 Solutions
New Discussion

lvextend error

 
SOLVED
Go to solution
mjos
Super Advisor

lvextend error

Hi, I am trying to extend a logical volume, getting the following error on 11.23

lvextend -L 11000 /dev/vg_ap/lvken1
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg_ap/lvken1" could not be extended.
Failure possibly caused by strict allocation policy


7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: lvextend error

"Not enough free physical extents available"

Check this with

vgdisplay -v vg_app

"possibly caused by strict allocation policy"

check with

lvdisplay -v /dev/vg_ap/lvken1

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!   
mjos
Super Advisor

Re: lvextend error

Hi, I am attaching the lv & vg ouputs
James R. Ferguson
Acclaimed Contributor

Re: lvextend error

Hi:

You don't have enough free physical extents in your volume group to satisfy the request.

Your PE size is 4MB and you have 1058 free extents. With the 1500 already allocated to 'lvken1':

( 1500 + 1058 ) = 10,232 < 11,000

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor
Solution

Re: lvextend error

Hi (again):

Sorry, that caclulation should read:

( 1500 + 1058 ) * 4 = 10,232 < 11,000

Regards!

...JRF...
mjos
Super Advisor

Re: lvextend error

Thanks, I added disks through the EVA.
I got 4 new disks in the old & new ioscan output

pvcreate /dev/rdsk/c11t1d4
Physical volume "/dev/rdsk/c11t1d4" has been successfully created.

vgextend /dev/vg_ap /dev/dsk/c1t1d4 /dev/dsk/c3t1d4 /dev/dsk/c9t1d4
vgextend: Warning: Max_PE_per_PV for the volume group (1024) too small for this PV (1279).
Using only 1024 PEs from this physical volume.
Current path "/dev/dsk/c3t0d3" is an alternate link, skip.
Current path "/dev/dsk/c3t0d5" is an alternate link, skip.
Current path "/dev/dsk/c3t0d7" is an alternate link, skip.
Current path "/dev/dsk/c9t1d3" is an alternate link, skip.
Current path "/dev/dsk/c11t1d3" is an alternate link, skip.
Volume group "/dev/vg_ap" has been successfully extended.
Volume Group configuration for /dev/vg_ap has been saved in /etc/lvmconf/vg_ap.conf

lvextend -L 11000 /dev/vg_ap/lvken1
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg_ap/lvken1" could not be extended.
Failure possibly caused by strict allocation policy

Can you please tell me how can I extend the lv. Removing the strict policy didnt work
mjos
Super Advisor

Re: lvextend error

Thanks James...i allocated 10gb & it worked

lvextend -L 10000 /dev/vg_ap/lvken1

Appreciate everybodys help ....thanks
mjos
Super Advisor

Re: lvextend error

I have submitted points - thanks