- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend error
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
тАО05-14-2010 10:45 PM
тАО05-14-2010 10:45 PM
I am trying to extend an LV (/dev/vgqs_sapdata/sapdata) but getting the following message:-
lvextend -L 229264 /dev/vgqs_sapdata/sapdata
Warning: rounding up logical volume size to extent boundary at size "229280" MB for striping.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgqs_sapdata/sapdata" could not be extended.
Failure possibly caused by strict allocation policy
There are 4094 Free PEs available also (which I have just allocated from storage). vgdisplay output is given below:-
root@qx01smx:/>vgdisplay /dev/vgqs_sapdata
--- Volume groups ---
VG Name /dev/vgqs_sapdata
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 255
Cur PV 14
Act PV 14
Max PE per PV 2048
VGDA 28
PE Size (Mbytes) 8
Total PE 28658
Alloc PE 24564
Free PE 4094
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0.0
What might be the problem?
Pl extend your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2010 11:32 PM
тАО05-14-2010 11:32 PM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2010 11:37 PM
тАО05-14-2010 11:37 PM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2010 11:39 PM
тАО05-14-2010 11:39 PM
Re: lvextend error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2010 11:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 12:31 AM
тАО05-15-2010 12:31 AM
Re: lvextend error
You have only total free PE 32752 MB and you are trying to allocate 229280 MB , ofcourse you have tried to allocated more than what you are avilable with.
Reduce the LV size < 32752 MB
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 12:45 AM
тАО05-15-2010 12:45 AM
Re: lvextend error
>> lvextend -L 229264 /dev/vgqs_sapdata/sapdata
>> lvextend: Not enough free physical extents available.
>> PE Size (Mbytes) 8
>> Free PE 4094
As said..
You have only 4094*8 = 32752Mb free
So you have only about 32 Gb free in your VG..and you are trying to extend it to 229Gb....need to extend the VG...add a disk/lun, then proceed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 01:51 AM
тАО05-15-2010 01:51 AM
Re: lvextend error
root@qx01smx:/>lvdisplay /dev/vgqs_sapdata/sapdata
--- Logical volumes ---
LV Name /dev/vgqs_sapdata/sapdata
VG Name /dev/vgqs_sapdata
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 196512
Current LE 24564
Allocated PE 24564
Stripes 4
Stripe Size (Kbytes) 4096
Bad block on
Allocation strict
IO Timeout (Seconds) default
Sorry, I wont be able to post the 'lvdisplay -v /dev/vgqs_sapdata/sapdata' anymore, as the LV has been extended.
Here, I would request your inputs:-
Initially 2 LDEVs were allocated and I was trying to `lvextend` with them and it was not happening. (NB: the vg got extended). Later, observing the `strict allocation policy` violation, checked the above 'lvdisplay' output and marked the following:-
...
Stripes 4
...
Allocation strict
So, I tried by allocating 2 more LDEVs from the XP12k - extended the VG vgqs_sapdata with the same. And this time `lvextend` worked.
I would like to gather your inputs on this - Is what was done correct?
Where can I learn about the various allocation policies?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 03:52 AM
тАО05-15-2010 03:52 AM
Re: lvextend error
Could this LVOL have been created with something like :-
lvcreate -s y -i 4 -d p -n sapdata /dev/vgqs_sapdata
I am trying to figure out how the LVOL was created... as this is the first i faced such a situation. This is my understanding - have to assign new disks in groups of 4, if we have to add space (after consuming all allocated PEs)
Will appreciate inputs very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 09:35 AM
тАО05-15-2010 09:35 AM
Re: lvextend error
why you could not post lvdisplay -v /dev/vgqs_sapdata/sapdata when it was extended?