Operating System - HP-UX
1754403 Members
3107 Online
108813 Solutions
New Discussion

lvextend: Not enough free physical extents available

 
SOLVED
Go to solution
Mohamed Galal
Advisor

lvextend: Not enough free physical extents available

I started extending my VGDB because it is 90% full. But I tried to execute the below procedure. But during executing the command <<# lvextend â l 5000 /dev/vgdb/lvol1>>, it gave the following error:

naclds:/ (167) root% lvextend -l 5000 /dev/vgdb/lvol1
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgdb/lvol1" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vgdb".
Failure possibly caused by strict allocation policy

-------------------------------------------
naclds:/ (159) root% vgdisplay /dev/vgdb
--- Volume groups ---
VG Name /dev/vgdb
VG Write Access read/write
VG Status available
Max LV 8
Cur LV 1
Open LV 1
Max PV 255
Cur PV 6
Act PV 6
Max PE per PV 25000
VGDA 12
PE Size (Mbytes) 64
Total PE 5114
Alloc PE 3116
Free PE 1998
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

lvdisplay -v /dev/vgdb/lvol1 | more
--- Logical volumes ---
LV Name /dev/vgdb/lvol1
VG Name /dev/vgdb
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 199424
Current LE 3116
Allocated PE 3116
Stripes 4
Stripe Size (Kbytes) 1024
Bad block on
Allocation strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c4t0d1 779 779
/dev/dsk/c4t0d2 779 779
/dev/dsk/c4t0d3 779 779
/dev/dsk/c4t0d4 779 779
5 REPLIES 5
Johnson Punniyalingam
Honored Contributor
Solution

Re: lvextend: Not enough free physical extents available

Check Below Thread,

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1267866668067+28353475&threadId=1113110
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: lvextend: Not enough free physical extents available

Forums user name: Mohamed Galal
Company name:
Country / Region: egypt
Personal quote:
Certification:
ITRC member since: May 05, 2009
Last contribution date: March 06, 2010
I have assigned points to 0 of 19 responses to my questions.


so far you have assigned "0" points since 2009.
please do have habit of assigning points for the people who help to share their valuable time & knowledge help to resolve / guidance to your problems.

check below link explains how to assign points.

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Problems are common to all, but attitude makes the difference
shanmuhanandam
HPE Pro

Re: lvextend: Not enough free physical extents available

Hi,
as of your lvdisplay the lv is stripped accross 4 PV's. so for extending the LV you need to hav free PE's on another 4 PVs.

Thanks,
Shanmugam.
I am an HPE Employee

Accept or Kudo

Md. Farhan A Azam
Trusted Contributor

Re: lvextend: Not enough free physical extents available

Salam,

In vgdisplay 1998 PEs are free. So

Plz post output of below command.

#uname -a
#model
#pvdisplay /dev/dsk/c4t0d1
#pvdisplay /dev/dsk/c4t0d2
#pvdisplay /dev/dsk/c4t0d3
#pvdisplay /dev/dsk/c4t0d4

Are you using mirroring.

#lvdisplay -v /dev/vgdb/ (Full Output)
Mohamed Galal
Advisor

Re: lvextend: Not enough free physical extents available

After dividing the new luns to be 4 luns & forcing the LV tobe extended.