- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend error message
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
03-15-2001 06:40 PM
03-15-2001 06:40 PM
When I'm doing lvextend on /var, the system gave me the following error messages:
"Failure ..... not enough space ...."
"Cannot extend due to strict allocation policy"
I've checked my vg where /var resides on and there is enough free PE for me to use.
Can anyone tell me the solution for this?
All/any helps are highly appreciated.
rgds,
RL
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 07:53 PM
03-15-2001 07:53 PM
Re: lvextend error message
At its creation time your /var fs was being set to use "strict allocation" which means its data blocks are REQUIRED to be contiguous. The reason your lvextend command failed was because there aren't enough data blocks followed immediately after the last block of the /var logical volume. In SAM try setting the strict allocation off for the /var fs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 08:00 PM
03-15-2001 08:00 PM
Re: lvextend error message
Are u using striping the logical volume used of /var filesystem.
This is what man lvextend man page says..
.."LVM striped logical volumes are always allocated using a strict
allocation policy. Consequently, striped logical volumes may only be
extended by a number extents that is a multiple of disks the logical
volume is striped across. For example, for a logical volume striped
across 3 disks, the logical volume will be extended in increments of 3
extents, with each of the 3 extents allocated on a different disk in
the volume group...."
So in this case the system may be trying to round up to the stripe increments for which there may not be enough space.
Cheers
Karthik...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 08:02 PM
03-15-2001 08:02 PM
Re: lvextend error message
You're right. In fact, there is no more free PE in the physical volume which I want to extend. So, what should I do? Add 1 more disk for the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 08:18 PM
03-15-2001 08:18 PM
Re: lvextend error message
I think you mean no more PE in volumn group that /var reside
by vgdisplay
look for free PE , if it is 0 then you have to extend your volumn group to new harddisk.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2001 11:12 PM
03-15-2001 11:12 PM
SolutionThe /var fs need not be contiguous (strict allocation) so you can try setting that option off. Just go into SAM -> Disk & File System, pull up the properties for the /var lvol, toggle off that strict allocation policy and see if this is allowed or not. If SAM allow this then you can exit out, enter single user mode at the console terminal, then extend the /var volume.
Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2001 11:50 AM
03-18-2001 11:50 AM
Re: lvextend error message
Philip is correct.
You can use following command too, to change allocation policy to nonstrict:
lvchange -s n
Then u can extend ur LV.
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 10:44 AM
03-26-2001 10:44 AM
Re: lvextend error message
vgextend ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 10:52 AM
03-26-2001 10:52 AM
Re: lvextend error message
Goodluck.