- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend: Not enough free physical extents ava...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 12:22 PM
тАО10-20-2008 12:22 PM
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" could not be extended.
Failure possibly caused by strict allocation policy
# lvextend -l 51200M /dev/vg00/lvol5
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" could not be extended.
Failure possibly caused by strict allocation policy
# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 5016
VGDA 2
PE Size (Mbytes) 8
Total PE 5006
Alloc PE 3274
Free PE 1732
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 224
Allocated PE 224
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 128
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 64
Allocated PE 64
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 104
Current LE 13
Allocated PE 13
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 7672
Current LE 959
Allocated PE 959
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 7176
Current LE 897
Allocated PE 897
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 5864
Current LE 733
Allocated PE 733
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c0t2d0s2
PV Status available
Total PE 5006
Free PE 1732
Autoswitch On
Proactive Polling On
The disks are mirrored(h/w raid 1)
Now to increase lvol5... can i use the the following
lvchange -D n /dev/vg01/lvol2
and then
lvextend -L 51200M ....
vgextend...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 12:24 PM
тАО10-20-2008 12:24 PM
Re: lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" has been successfully changed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
# lvextend -l 51200M /dev/vg00/lvol5
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" could not be extended.
Failure possibly caused by strict allocation policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 12:26 PM
тАО10-20-2008 12:26 PM
Re: lvextend: Not enough free physical extents available.
You DO NOT have enough storage in thie VG to satisfy your request.
The max you can do would be close to.
lvextend -L 13000 /dev/vg00/lvol5
or
lvextend -l 1732 /dev/vg00/lvol5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 12:27 PM
тАО10-20-2008 12:27 PM
Re: lvextend: Not enough free physical extents available.
--- Logical volumes ---
LV Name /dev/vg00/lvol5
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 104
Current LE 13
Allocated PE 13
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 12:42 PM
тАО10-20-2008 12:42 PM
Re: lvextend: Not enough free physical extents available.
and now I was successfully able to extend lvol5 to 12g
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 283512 759144 27% /
/dev/vg00/lvol1 1835008 80496 1740912 4% /stand
/dev/vg00/lvol8 6004736 2110320 3865280 35% /var
/dev/vg00/lvol7 7348224 2525000 4785600 35% /usr
/dev/vg00/lvol4 524288 110448 410616 21% /tmp
/dev/vg00/lvol6 7856128 3797536 4026928 49% /opt
/dev/vg00/lvol5 13312000 102344 13106512 1% /home
--- Physical volumes ---
PV Name /dev/dsk/c0t2d0s2
PV Status available
Total PE 5006
Free PE 120
Autoswitch On
Proactive Polling On
Now is there a way I can extend this even more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 12:45 PM
тАО10-20-2008 12:45 PM
Re: lvextend: Not enough free physical extents available.
# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 5016
VGDA 2
PE Size (Mbytes) 8
Total PE 5006
Alloc PE 3274
Free PE 1732
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Note PE Size (Mbytes) is 8. Free PE 1732. As noted above, thats ~ 13GB. IT IS NOT GOING TO WORK when you attempt to add 51GB.
It will work for sizes less than 13GB (as you found when you were able to extend it by 12)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 12:47 PM
тАО10-20-2008 12:47 PM
Re: lvextend: Not enough free physical extents available.
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual LvDis
k
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 2 0/0/0/0.2.0 sdisk CLAIMED DEVICE HP Virtual LvDis
k
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
/dev/dsk/c0t2d0s1 /dev/rdsk/c0t2d0s1
/dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s3
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t2d0s2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 01:02 PM
тАО10-20-2008 01:02 PM
Re: lvextend: Not enough free physical extents available.
# vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 5016
VGDA 2
PE Size (Mbytes) 8
Total PE 5006
Alloc PE 4925
Free PE 81
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
I see that there are only 81 free PE avaliable... Is there a way I can add more PE's So that I can have 30G for /home.I have two disks one is 10G and the other is 40G.
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual LvDis
k
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 2 0/0/0/0.2.0 sdisk CLAIMED DEVICE HP Virtual LvDis
k
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
/dev/dsk/c0t2d0s1 /dev/rdsk/c0t2d0s1
/dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s3
# diskinfo /dev/dsk/c0t0d0
diskinfo: Character device required
# diskinfo /dev/rdsk/c0t0d0
SCSI describe of /dev/rdsk/c0t0d0:
vendor: HP
product id: Virtual LvDisk
type: direct access
size: 10485760 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c0t2d0
SCSI describe of /dev/rdsk/c0t2d0:
vendor: HP
product id: Virtual LvDisk
type: direct access
size: 41943040 Kbytes
bytes per sector: 512
Now how can I increase the /home from 13G to 35G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 01:04 PM
тАО10-20-2008 01:04 PM
Re: lvextend: Not enough free physical extents available.
If you want to increase the size of that lv up to 51gb you must add a LUN to it's VG to met that requirement, that's the only way I know.
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 01:07 PM
тАО10-20-2008 01:07 PM
Re: lvextend: Not enough free physical extents available.
Regrds!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 01:13 PM
тАО10-20-2008 01:13 PM
Re: lvextend: Not enough free physical extents available.
The 10GB disk, if not used, could be added to vg00 and then you can add 10GB to which ever lvol you wish but it still will only take you to 26GB if you add it all to lvol5.
pvcreate /dev/dsk/c0t0d0
vgextend /dev/vg00
lvextend -L 26000 /dev/vg00/lvol5
If you wish to get to 30GB or more then you MUST add more virtual disk to the vGuest.
(not sure why you want to make the /home filesystem so big, but to each their own )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 01:15 PM
тАО10-20-2008 01:15 PM
Re: lvextend: Not enough free physical extents available.
how can I do that..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 01:24 PM
тАО10-20-2008 01:24 PM
Re: lvextend: Not enough free physical extents available.
The two you have presented (35GB and 10GB) are not enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2008 04:20 PM
тАО10-20-2008 04:20 PM
Re: lvextend: Not enough free physical extents available.
Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 04:50 AM
тАО10-21-2008 04:50 AM
Re: lvextend: Not enough free physical extents available.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 5016
VGDA 4
PE Size (Mbytes) 8
Total PE 6285
Alloc PE 3166
Free PE 3119
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Physical volumes ---
PV Name /dev/dsk/c0t1d0s2
PV Status available
Total PE 5006
Free PE 3119
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c0t0d0
PV Status available
Total PE 1279
Free PE 0
Autoswitch On
Proactive Polling On
Here I see many PV's available.... but cannot do a vgextend or a lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 04:54 AM
тАО10-21-2008 04:54 AM
SolutionPlease clarify!
Do you want to extend the lv on the guest?
What kind of backing storage do you have? LVOLs?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 04:58 AM
тАО10-21-2008 04:58 AM
Re: lvextend: Not enough free physical extents available.
...
Allocation strict
...
Change it and it will work!
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:01 AM
тАО10-21-2008 05:01 AM
Re: lvextend: Not enough free physical extents available.
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual LvDis
k
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/0/0/0.1.0 sdisk CLAIMED DEVICE HP Virtual LvDis
k
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
/dev/dsk/c0t1d0s1 /dev/rdsk/c0t1d0s1
/dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s3
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t1d0s2
/dev/dsk/c0t0d0
# lvextend -L 12288M /dev/vg00/lvol5
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vg00".
Failure possibly caused by strict allocation policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:02 AM
тАО10-21-2008 05:02 AM
Re: lvextend: Not enough free physical extents available.
lvchange -D n /dev/vg00/lvol5
but still I get the same error
# lvchange -D n /dev/vg00/lvol5
Logical volume "/dev/vg00/lvol5" has been successfully changed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
# lvextend -L 12288M /dev/vg00/lvol5
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vg00".
Failure possibly caused by strict allocation policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:09 AM
тАО10-21-2008 05:09 AM
Re: lvextend: Not enough free physical extents available.
# lvchange -C n /dev/vg00/lvol5
Logical volume "/dev/vg00/lvol5" has been successfully changed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
# lvextend -L 12288M /dev/vg00/lvol5
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol5" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vg00".
Failure possibly caused by strict allocation policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:10 AM
тАО10-21-2008 05:10 AM
Re: lvextend: Not enough free physical extents available.
# lvdisplay -v /dev/vg00/lvol5
again.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:12 AM
тАО10-21-2008 05:12 AM
Re: lvextend: Not enough free physical extents available.
--- Logical volumes ---
LV Name /dev/vg00/lvol5
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 112
Current LE 14
Allocated PE 14
Stripes 2
Stripe Size (Kbytes) 64
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t1d0s2 7 7
/dev/dsk/c0t0d0 7 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:15 AM
тАО10-21-2008 05:15 AM
Re: lvextend: Not enough free physical extents available.
Stripes 0
and now it is
Stripes 2
You cannot extend this striped volume if you have only space on 1 of the disks.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:17 AM
тАО10-21-2008 05:17 AM
Re: lvextend: Not enough free physical extents available.
Delete it and re-create it (with SAM) - probably the most easy way for you.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2008 05:18 AM
тАО10-21-2008 05:18 AM
Re: lvextend: Not enough free physical extents available.
What can I do now..