- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not enough free physical extents available
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
Forums
Discussions
Discussions
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
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
09-06-2005 12:01 AM
09-06-2005 12:01 AM
I hope everyone can help me with the following:
I've created a logical volume /dev/vginpo1/lvinpo1115_16384 with the following command: lvcreate -D y -s g -n lvinpo1115_16384 vginpo1
Now I've tried an: lvextend -L 16384 /dev/vginpo1/lvinpo1115_16384
and the following error occurs:
lvextend: Not enough free physical extents available.
Logical volume "/dev/vginpo1/lvinpo1115_16384" could not be extended.
Failure possibly caused by PVG-Strict or Distributed allocation policies.
If I run a vgdisplay /dev/vginpo1 it shows the following:
VG Name /dev/vginpo1
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 118
Open LV 118
Max PV 16
Cur PV 9
Act PV 9
Max PE per PV 17501
VGDA 18
PE Size (Mbytes) 4
Total PE 113401
Alloc PE 101560
Free PE 11841
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0
I see the following: There are 11841 free PE's. Depend on the 4 MB PE-Size there are 47364 MB free in the volume group. Can everyone tell me why I can't increase the size of the logical volume to 16384 MB???
regards
Christian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:07 AM
09-06-2005 12:07 AM
SolutionIn your lvcreate, you specified Distributed Allocation. To quote the man page,
"When the distributed allocation policy is turned on, only one free extent is allocated from the first available physical volume. The next free extent is allocated from the next available physical volume. Allocation of free extents proceeds in round-robin order on the list of available physical volumes."
So, your answer is most likely that despite the fact you have all kinds of free PE's, they are not located where you need them.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:09 AM
09-06-2005 12:09 AM
Re: Not enough free physical extents available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:28 AM
09-06-2005 12:28 AM
Re: Not enough free physical extents available
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 12:30 AM
09-06-2005 12:30 AM
Re: Not enough free physical extents available
If you're not using PVGs, as in there is no /etc/lvmpvg, then get rid of the -D and -s flags. If you are, get rid of the -D flag.
lvremove /dev/vginpo1/lvinpo1115_16384
lvcreate [-s g ] -n lvinpo1115_16384 vginpo1
lvextend -L 16384 /dev/vginpo1/lvinpo1115_16384
I assume that you'll be mirroring the LV onto the other PVG after all this if you're using PVGs.
If that doesn't work, you'll have to examine your PVG set up. Assuming an even split of disks in each PVG, you should have 47364/2 = 23682 in each PVG. If you have more than 2 PVGs in that VG, then you're doomed. You'll have to create the LV without the PVGs and mirror it manually.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 02:13 AM
09-06-2005 02:13 AM
Re: Not enough free physical extents available
regards
Christian