- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend: Not enough free physical extents availab...
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
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
тАО08-02-2010 12:57 PM
тАО08-02-2010 12:57 PM
i tried to extend an existing logical volume by adding 10GB. But the lvextend command returns the error:
lvextend: Not enough free physical extents available
The logical volume is NOT mirrored or stripped.
--- Logical volumes ---
LV Name /dev/vgora02/lvol10
VG Name /dev/vgora02
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 36088
Current LE 4511
Allocated PE 4511
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation non-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c13t4d1 1041 1041
/dev/dsk/c11t4d2 1735 1735
/dev/dsk/c13t4d3 1735 1735
What may be causing this?
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 02:07 PM
тАО08-02-2010 02:07 PM
SolutionSomething is missing from the output.
Normally this screen shows the amount of free PE's on the physical disk.
Example:
--- Physical volumes ---
PV Name /dev/dsk/c7t6d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 9
PE Size (Mbytes) 16
Total PE 4374
Free PE 1479
Allocated PE 2895
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On
There may simply not be enough free extents. You have 36 GB in the Logical volume. To analyze this problem, we need to see the pvdisplay for the physical volume you wish to extend to.
Please post
vgdisplay
Might want to look at -v output for the same command to see the disk layout.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 02:23 PM
тАО08-02-2010 02:23 PM
Re: lvextend: Not enough free physical extents available
You show the beginning of a 'lvdisplay -v' for the logical volume. This isn't going to help answer your question.
You need to examine the output of:
# vgdisplay /dev/vgora02
or :
# vgdisplay -v /dev/vgora02
...in order to see how many and where you have free physical extents to extend your logical volume.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 07:45 PM
тАО08-02-2010 07:45 PM
Re: lvextend: Not enough free physical extents available
Please provide following:
- # vgdisplay -v vgora02 | grep -i -e "Free PE" -e "PE Size" -e dsk
- lvdisplay /dev/vgora02/lvol10 | grep "LV Size"
- lvdisplay -v /dev/vgora02/lvol10 | perl -ne 'print if /Distribution/../Logical/' | grep -v Logic
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 09:13 PM
тАО08-02-2010 09:13 PM
Re: lvextend: Not enough free physical extents available
Sorry for the lack of info. Here are more details:
--- Volume groups ---
VG Name /dev/vgora02
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 11
Open LV 11
Max PV 60
Cur PV 31
Act PV 31
Max PE per PV 10000
VGDA 62
PE Size (Mbytes) 8
Total PE 53329
Alloc PE 52050
Free PE 1279
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
=============== ######## ===============
PV Name /dev/dsk/c24t0d3
PV Name /dev/dsk/c22t0d3 Alternate Link
PV Name /dev/dsk/c20t0d3 Alternate Link
PV Name /dev/dsk/c18t0d3 Alternate Link
PV Status available
Total PE 1279
Free PE 1279
Autoswitch On
Proactive Polling On
wbscsp02[/]#lvextend -l 53329 /dev/vgora02/lvol10
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgora02/lvol10" could not be extended.
wbscsp02[/]#
wbscsp02[/]#lvdisplay /dev/vgora02/lvol10 | grep "LV Size"
LV Size (Mbytes) 36088
wbscsp02[/]#lvdisplay -v /dev/vgora02/lvol10 | perl -ne 'print if /Distribution/../Logical/' | grep -v Logic
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c13t4d1 1041 1041
/dev/dsk/c11t4d2 1735 1735
/dev/dsk/c13t4d3 1735 1735
wbscsp02[/]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 09:27 PM
тАО08-02-2010 09:27 PM
Re: lvextend: Not enough free physical extents available
When I posted the first out put in my OP, we have removed the newly added physical volumes temporarily. That's why it shows no free PE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 09:32 PM
тАО08-02-2010 09:32 PM
Re: lvextend: Not enough free physical extents available
and your LV siz in terms of extend is 4511.
Use below command,
lvextend -l 5790 /dev/vgora02/lvol10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 09:43 PM
тАО08-02-2010 09:43 PM
Re: lvextend: Not enough free physical extents available
It was a very silly mistake. I extended the logical volume successfully.
Regards
Subentu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 09:43 PM
тАО08-02-2010 09:43 PM