- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't extend a LV (free PE's in VG available on b...
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
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
06-27-2011 08:37 AM
06-27-2011 08:37 AM
Hello,
for me I have a little bit strange problem.
In the VG I have free extends, on both disks (PVG-strict).
# lvextend -l 440 /dev/vgilnk/lvdata01
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgilnk/lvdata01" could not be extended.
(PS: I'm not shure if I have to use 440 or 880 as new extend count, both did not work)
# vgdisplay -v /dev/vgilnk
--- Volume groups ---
VG Name /dev/vgilnk
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 6
Open LV 6
Max PV 48
Cur PV 2
Act PV 2
Max PE per PV 8000
VGDA 4
PE Size (Mbytes) 64
Total PE 2398
Alloc PE 1770
Free PE 628
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgilnk/lvdata01
LV Status available/syncd
LV Size (Mbytes) 25024
Current LE 391
Allocated PE 782
Used PV 2
...
...
--- Physical volumes ---
PV Name /dev/dsk/c64t1d0
PV Name /dev/dsk/c66t1d0 Alternate Link
PV Name /dev/dsk/c72t1d0 Alternate Link
PV Name /dev/dsk/c74t1d0 Alternate Link
PV Status available
Total PE 1199
Free PE 314
Autoswitch On
Proactive Polling Off
PV Name /dev/dsk/c68t1d0
PV Name /dev/dsk/c70t1d0 Alternate Link
PV Name /dev/dsk/c76t1d0 Alternate Link
PV Name /dev/dsk/c78t1d0 Alternate Link
PV Status available
Total PE 1199
Free PE 314
Autoswitch On
Proactive Polling Off
# lvdisplay -v /dev/vgilnk/lvdata01
--- Logical volumes ---
LV Name /dev/vgilnk/lvdata01
VG Name /dev/vgilnk
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 25024
Current LE 391
Allocated PE 782
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation PVG-strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c64t1d0 391 391
/dev/dsk/c68t1d0 391 391
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c64t1d0 00000 current /dev/dsk/c68t1d0 00000 current
00001 /dev/dsk/c64t1d0 00001 current /dev/dsk/c68t1d0 00001 current
...
...
Whats wrong?
Is there a limitation of max PE for a LV ?
Thanks,
martin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2011 09:30 AM
06-27-2011 09:30 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
Hi
You have available Free PE is 314 on each disk. as your lv is mirrored you can not have 440 PE in VG.
You can extend you lv up to 314 PE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2011 10:00 AM
06-27-2011 10:00 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
Hi Martin,
Try with # lvextend -l 314 /dev/vgilnk/lvdata01.
Hope vglink has two PVG and each PVG has one disk.
As Vijay mentioned, your disk hasn't enough free PE, you can't have the space as you given in your caommand.
Hope it makes you understand.
Rgds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2011 10:30 PM - edited 06-28-2011 12:12 AM
06-27-2011 10:30 PM - edited 06-28-2011 12:12 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
If you want to extend to 440 LEs, the LVOL will use 2*440 PEs since the LVOL is mirrored.
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-27-2011 11:56 PM
06-27-2011 11:56 PM
Re: Can't extend a LV (free PE's in VG available on both disks)
old LV size is 391PE, I have 314 PE free on both disks.
I I want to extend to 440PE, so I need only 49 "new" additionally PE.
Or not?
In # lvextend I have to enter the new target size, not the amount I will increase, or?
Or have a big missunderstanding here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2011 05:26 AM
06-28-2011 05:26 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
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-28-2011 05:28 AM
06-28-2011 05:28 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
You have only 2 disks, so a PVG doesn't make so much sense.
However, check what is inside /etc/lvmpvg!
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-28-2011 08:23 AM
06-28-2011 08:23 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
From your vgdisplay output you have 8 HBA's on this box? That's great I/O performance but rarely seen. But note that an alternate link is not a mirror but an alternate path to the same disk. Also note that four is the industry standard but there is no reason not to have 8 except for the expense of the box and criticality of the data.
This must be a critical box.
From your lvdisplay you have 1 mirrored copy. That's one primary and one alternate.
This is definitely not the output of a distributed configuration, as Thorsten is pointing out.
All I see here is what has already been stated, 628 free PE / 2 or 314 in vgdisplay and a PVG-Strict being used where Strict-Allocation is called for.
See the vgchange command and investigate this change. You may have to create a new VG in order to fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2011 08:25 AM
06-28-2011 08:25 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
Thorsten:
"...There are only 10 types of people in the world -..."
ROFLOL - That is hilarious!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2011 10:17 AM
06-28-2011 10:17 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
@Michael Steele_2 wrote:
From your vgdisplay output you have 8 HBA's on this box?
You cannot say this for sure.
If you have for example a server with 2 FC HBAs and an array with 4 ports per controller (like the larger EVAs) the vgdisplay will exactly look like this.
As asked before, how does the lvmpvg file looks like?
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-30-2011 06:11 AM
06-30-2011 06:11 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
@Michael Steele_2 wrote:All I see here is what has already been stated, 628 free PE / 2 or 314 in vgdisplay and a PVG-Strict being used where Strict-Allocation is called for.
See the vgchange command and investigate this change. You may have to create a new VG in order to fix this.
Don't understand this:
Do you mean actuall it's not possible to extend the LV although the VG has free PE on both PV ?
Is there a bug or a missconfiguration from our side? Or any limitation?
Creating a new LV will need a downtime :-(
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2011 08:33 AM
06-30-2011 08:33 AM
Re: Can't extend a LV (free PE's in VG available on both disks)
Update:
Just made a test:
Creation of a new LV and extend is possible.
But when I change the new LV: # lvchange -s g ... (this will set PVG-strict, dont know why this was used before) and try than to extend >= The same error!
Must these PVG anywhere definded?
I saw:
# ll /etc/lvmpvg
-rw------- 1 root sys 0 May 8 12:41 /etc/lvmpvg
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2011 02:21 AM