- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Lvextend question
Operating System - HP-UX
1752263
Members
4297
Online
108785
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-11-2004 04:24 AM
тАО08-11-2004 04:24 AM
Need some help with extending a couple of lvols. It seems that I have enough space but I get the following message:
The command used to extend logical volumes, /sbin/lvextend, has
failed. The stderr output from the command is shown below. The
Log logical volume has not been extended.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg07/ora12" could not be extended.
Failure possibly caused by strict allocation policy
Logical Volume: ora12
Volume Group: vg07
Space Available in Volume Group (Mbytes): 45992
Current Logical Volume Size (Mbytes): 10000
New Size (Mbytes): 20000
ora12 vg07 VxFS 10000 1 /ora12
ora13 vg07 VxFS 17000 1 /ora13
ora14 vg07 VxFS 20000 0 /ora14
ora15 vg07 VxFS 20000 0 /ora15
The command used to extend logical volumes, /sbin/lvextend, has
failed. The stderr output from the command is shown below. The
Log logical volume has not been extended.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg07/ora12" could not be extended.
Failure possibly caused by strict allocation policy
Logical Volume: ora12
Volume Group: vg07
Space Available in Volume Group (Mbytes): 45992
Current Logical Volume Size (Mbytes): 10000
New Size (Mbytes): 20000
ora12 vg07 VxFS 10000 1 /ora12
ora13 vg07 VxFS 17000 1 /ora13
ora14 vg07 VxFS 20000 0 /ora14
ora15 vg07 VxFS 20000 0 /ora15
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 04:29 AM
тАО08-11-2004 04:29 AM
Solution
Mark,
Do a "lvdisplay" on the logical volume and check the "Allocation" policy. It will probably say "strict/contiguous". If this is the case, the extents you're trying to add need to be contiguous to the existing ones. Probably the easiest way to fix this, is to use lvchange to alter the contiguous flag (-C) - assuming that the lvol doesn't really need to be contiguous, that is.
Pete
Pete
Do a "lvdisplay" on the logical volume and check the "Allocation" policy. It will probably say "strict/contiguous". If this is the case, the extents you're trying to add need to be contiguous to the existing ones. Probably the easiest way to fix this, is to use lvchange to alter the contiguous flag (-C) - assuming that the lvol doesn't really need to be contiguous, that is.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 04:36 AM
тАО08-11-2004 04:36 AM
Re: Lvextend question
Two things can cause this:
1) strict / contigious allocation policy has been set
2) The LVOL is mirrored and although there are enough free extents in total to grant the request, there are no enough free extents available on separate physical volumes (PV's) to allow each mirror to be housed on separate PV's.
1) strict / contigious allocation policy has been set
2) The LVOL is mirrored and although there are enough free extents in total to grant the request, there are no enough free extents available on separate physical volumes (PV's) to allow each mirror to be housed on separate PV's.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 04:40 AM
тАО08-11-2004 04:40 AM
Re: Lvextend question
Even though you have enough free space, ability to successfully extend LV also depends on the allocation policy.
Is your LV mirrored ?
If not, you can safely ignore "strict" allocation.
If your LV is neither mirrored nor is a extend based stripe, you can ignore the PVG-strict allocation.
Most probably your LV extend allocation is set to "contiguous"
# lvchange -C n /dev/vgXX/lvolXX
# lvextend .....
Is your LV mirrored ?
If not, you can safely ignore "strict" allocation.
If your LV is neither mirrored nor is a extend based stripe, you can ignore the PVG-strict allocation.
Most probably your LV extend allocation is set to "contiguous"
# lvchange -C n /dev/vgXX/lvolXX
# lvextend .....
Learn What to do ,How to do and more importantly When to do ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP