- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lv extend not working due to extents
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
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
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
06-26-2013 08:35 AM - last edited on 06-26-2013 06:20 PM by Maiko-I
06-26-2013 08:35 AM - last edited on 06-26-2013 06:20 PM by Maiko-I
i am using SMH to do a LVM extend, i have the space in the VG but i am getting this error, and all commands i have tried from the man pages doesnt work. does anyone have any ideas???
hpux 11vi3 on a bl860ci2
Warning: rounding up logical volume size to extent boundary at size "501536" MB.
lvextend: Not enough free physical extents available.
Logical volume "/dev/relvg/rel01" could not be extended.
Command Unsuccessful
press enter Key to continu
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > LVM and VxVM - HP Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 08:38 AM - edited 06-26-2013 08:39 AM
06-26-2013 08:38 AM - edited 06-26-2013 08:39 AM
Re: lv extend not working due to extents
Please post
# vgdisplay -v /dev/relvg
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 08:56 AM
06-26-2013 08:56 AM
Re: lv extend not working due to extents
khepx002:/# vgdisplay -v /dev/relvg --- Volume groups --- VG Name /dev/relvg VG Write Access read/write VG Status available Max LV 2047 Cur LV 9 Open LV 9 Max PV 2048 Cur PV 1 Act PV 1 Max PE per PV 524288 VGDA 2 PE Size (Mbytes) 32 Total PE 110703 Alloc PE 101224 Free PE 9479 Total PVG 0 Total Spare PVs 0 Total Spare PVs in use 0 VG Version 2.1 VG Max Size 1p VG Max Extents 33554432
--- Logical volumes --- LV Name /dev/relvg/rel LV Status available/syncd LV Size (Mbytes) 10240 Current LE 320 Allocated PE 320 Used PV 1
LV Name /dev/relvg/rel01 LV Status available/syncd LV Size (Mbytes) 451520 Current LE 14110 Allocated PE 14110 Used PV 1
LV Name /dev/relvg/rel02 LV Status available/syncd LV Size (Mbytes) 674080 Current LE 21065 Allocated PE 21065 Used PV 1
LV Name /dev/relvg/rel03 LV Status available/syncd LV Size (Mbytes) 316192 Current LE 9881 Allocated PE 9881 Used PV 1
LV Name /dev/relvg/rel04 LV Status available/syncd LV Size (Mbytes) 395232 Current LE 12351 Allocated PE 12351 Used PV 1
LV Name /dev/relvg/rel05 LV Status available/syncd LV Size (Mbytes) 723808 Current LE 22619 Allocated PE 22619 Used PV 1
LV Name /dev/relvg/rel06 LV Status available/syncd LV Size (Mbytes) 173600 Current LE 5425 Allocated PE 5425 Used PV 1
LV Name /dev/relvg/rel07 LV Status available/syncd LV Size (Mbytes) 211104 Current LE 6597 Allocated PE 6597 Used PV 1
LV Name /dev/relvg/rel08 LV Status available/syncd LV Size (Mbytes) 283392 Current LE 8856 Allocated PE 8856 Used PV 1
--- Physical volumes --- PV Name /dev/disk/disk219 PV Status available Total PE 110703 Free PE 9479 Autoswitch On Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 09:11 AM
06-26-2013 09:11 AM
Re: lv extend not working due to extents
>>Warning: rounding up logical volume size to extent boundary at size "501536" MB.
>>lvextend: Not enough free physical extents available.
>>Logical volume "/dev/relvg/rel01" could not be extended.
According to your 'vgdisplay' output:
>>PE Size (Mbytes) 32
>>Total PE 110703
>>Alloc PE 101224
>>Free PE 9479
You've got 9,479 free physical extents. This equates to 303,328 MB available.
Your current /dev/relvg/rel01 logical volume is 451,520 MB in size. If you're increasing to 501,536 MB, then that is an increase of only 50,016 MB so you should have plenty of space available.
The problem may be that this LV was set up so that it requires contiguous allocation (all extents must be grouped together).
Please post the output of:
# lvdisplay /dev/relvg/rel01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 09:17 AM
06-26-2013 09:17 AM
Re: lv extend not working due to extents
lvdisplay /dev/relvg/rel01
--- Logical volumes ---
LV Name /dev/relvg/rel01
VG Name /dev/relvg
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 451520
Current LE 14110
Allocated PE 14110
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation PVG-strict
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 09:22 AM
06-26-2013 09:22 AM
Re: lv extend not working due to extents
Hmm...Nothing special about the way the LV is set up.
Try extending the LV from the command line:
# lvextend -L 501536 /dev/relvg/rel01
If that errors, please post the entire command line and error message.
If that works you can see if you can extend the filesystem online by doing:
# fsadm -b 501536m /mountpoint
Where /mountpoint is whatever mountpoint this LV is mounted on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 09:26 AM
06-26-2013 09:26 AM
Re: lv extend not working due to extents
no luck
khepx002:/# lvextend -L 501520 /dev/relvg/rel01
Warning: rounding up logical volume size to extent boundary at size "501536" MB.
lvextend: Not enough free physical extents available.
Logical volume "/dev/relvg/rel01" could not be extended.
khepx002:/#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 09:45 AM
06-26-2013 09:45 AM
SolutionDo you have a /etc/lvmpvg file on your system? According to an article I found in the HP knowledge base the problem appears to be caused by the PVG-strict allocation policy, but an entry does not exist for the VG in the /etc/lvmpvg file.
If you do not have an /etc/lvmpvg, then you need to create one, or add this VG to the current one.
It should look similar to:
# cat /etc/lvmpvg VG /dev/rel01 PVG PVG1 /dev/disk/disk219
The other option is to modify the LV so that it is not a PVG-strict allocation policy.
# lvchange -s y /dev/relvg/rel01
Then try doing your 'lvextend' again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2013 09:53 AM
06-26-2013 09:53 AM
Re: lv extend not working due to extents
added the lvmpvg and it worked , YEAH..
thank you so much for all your help,