HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Attempting to extend logical volume
Operating System - HP-UX
1834457
Members
2793
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-14-2001 06:27 AM
09-14-2001 06:27 AM
Attempting to extend logical volume
I can't extend a volume group. I seem to have plenty of physical extents (see vgdisplay and lvdisplay output below). These drives are mirrored and striped (level 0+1).
lvextend -L 12300 /dev/vgopt/lvopt10
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgopt/lvopt10" could not be extended.
lvdisplay /dev/vgopt/lvopt10
--- Logical volumes ---
LV Name /dev/vgopt/lvopt10
VG Name /dev/vgopt
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 12192
Current LE 3048
Allocated PE 6096
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default
vgdisplay vgopt
--- Volume groups ---
VG Name /dev/vgopt
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 17
Open LV 18
Max PV 16
Cur PV 12
Act PV 12
Max PE per PV 4341
VGDA 24
PE Size (Mbytes) 4
Total PE 52080
Alloc PE 41124
Free PE 10956
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
lvextend -L 12300 /dev/vgopt/lvopt10
lvextend: Not enough free physical extents available.
Logical volume "/dev/vgopt/lvopt10" could not be extended.
lvdisplay /dev/vgopt/lvopt10
--- Logical volumes ---
LV Name /dev/vgopt/lvopt10
VG Name /dev/vgopt
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 12192
Current LE 3048
Allocated PE 6096
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default
vgdisplay vgopt
--- Volume groups ---
VG Name /dev/vgopt
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 17
Open LV 18
Max PV 16
Cur PV 12
Act PV 12
Max PE per PV 4341
VGDA 24
PE Size (Mbytes) 4
Total PE 52080
Alloc PE 41124
Free PE 10956
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2001 06:48 AM
09-14-2001 06:48 AM
Re: Attempting to extend logical volume
Hi Robert:
The problem is the you do not have sufficient unused, physical extents available on each physical volume of the volume group to "round-robin" allocate new logical extents.
In addition, you have a PVG-strict mirror policy, along with this distributed allocation policy. This means that mirrors of a logical
extent cannot share the same physical volume group.
Regards!
...JRF...
The problem is the you do not have sufficient unused, physical extents available on each physical volume of the volume group to "round-robin" allocate new logical extents.
In addition, you have a PVG-strict mirror policy, along with this distributed allocation policy. This means that mirrors of a logical
extent cannot share the same physical volume group.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2001 06:51 AM
09-14-2001 06:51 AM
Re: Attempting to extend logical volume
If you are mirroring the LV, which I think you are, there may not be enough free extents on all the disks. e.g most of the free extents is on one disk & very little on the other. Do
# vgdisplay -v | egrep "PV Name|Free PE"
This will show how much free space is on each disk.
Tim
# vgdisplay -v
This will show how much free space is on each disk.
Tim
-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2001 07:04 AM
09-14-2001 07:04 AM
Re: Attempting to extend logical volume
Do a Vgdisplay -v and look at the
"Free PE" entries to see how many Free PE's
you have got available for each disk(physical
volume). Since you are using mirroring,
the number of PE's used for the primary
will be half of those displayed.
All this means that, the 'Free PE" of VG
(as shown in vgdisplay) is not necessarily
something which is available for use totally,
on a PVG-strict, mirrored environment.
IF you really want to extend this LV,
then you can do it by reducing it's mirror
(lvreduce -m 0 lvname
then extend the LV. But, it may scatter
your VG layout.
HTH
raj
Take it easy.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP