- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend: Not enough free physical extents availab...
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
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
10-02-2013 12:49 PM - last edited on 10-06-2013 09:12 PM by Maiko-I
10-02-2013 12:49 PM - last edited on 10-06-2013 09:12 PM by Maiko-I
lvextend: Not enough free physical extents available
I have added the new disk of 33 gb to this system under vgp29_2.
The given LV is mirrored and while extending I get the below error.
Can someone please share the inputs what is stopping me to extend the filesystem even though i have good space in VG.
Filesystem kbytes used avail %used Mounted on
/dev/vgp29_2/lv_sd3
49219584 46057744 3137144 94% /oracle/P29/sapdata3
[nlxdsm92:/]# lvdisplay /dev/vgp29_2/lv_sd3
--- Logical volumes ---
LV Name /dev/vgp29_2/lv_sd3
VG Name /dev/vgp29_2
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 48072
Current LE 6009
Allocated PE 12018
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
[nlxdsm92:/]# vgdisplay /dev/vgp29_2
--- Volume groups ---
VG Name /dev/vgp29_2
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 6
Open LV 6
Max PV 128
Cur PV 11
Act PV 11
Max PE per PV 4315
VGDA 22
PE Size (Mbytes) 8
Total PE 47454
Alloc PE 43086
Free PE 4368
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
[nlxdsm92:/]# bc
1024*8
8192
49219584/1024
48066
48066+8192
56258
quit
[nlxdsm92:/]# lvextend -L 56258m /dev/vgp29_2/lv_sd3
Warning: rounding up logical volume size to extent boundary at size "56264" MB.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgp29_2/lv_sd3" could not be extended.
Failure possibly caused by strict allocation policy
[nlxdsm92:/]# vgdisplay -v /dev/vgp29_2 | grep -i free
Free PE 4368
Free PE 0
Free PE 0
Free PE 0
Free PE 0
Free PE 27
Free PE 0
Free PE 0
Free PE 27
Free PE 0
Free PE 0
Free PE 4314
[nlxdsm92:/]#
P.S. this trhead has been moved from HP 9000 to HP-UX > LVM. - Hp Forum Moderator
- Tags:
- lvextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2013 08:47 AM
10-03-2013 08:47 AM
Re: lvextend: Not enough free physical extents available
The logical volume is mirrored and therefore by default has strict allocation set. This means that all of the extents (both sets of mirrored data) are not allowed on one Physical Volume. Since you only added one PV the allocation policy prevents you from extending the LV to this volume. The reasoning is that you want to protect the data by using mirroring, however if both sets of mirrored extents are on the same PV and that PV goes away, how are you protected?
Add a second PV and you will be able to do what you need to do.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2013 12:55 AM
11-28-2013 12:55 AM
Re: lvextend: Not enough free physical extents available
Hi,
From your vgdisplay output:
VG Name /dev/vgp29_2
PE Size (Mbytes) 8
Free PE 4368
You only have total free space of 34944 MB on the said VG.
And based from your lvextend output, you tried to extend it to 56258MB.
[nlxdsm92:/]# lvextend -L 56258m /dev/vgp29_2/lv_sd3
Therefore, you have no sufficient space to come up with 56258 MB since you only have 34944 MB free space on that VG.
You need to add up and present additional disks to that VG to cater your needed LV size.
Cheers!