- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend LVM Volume group
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
тАО07-21-2008 11:14 PM
тАО07-21-2008 11:14 PM
Extend LVM Volume group
HP-UX version 11.31
LVM-version 2
After definening a second physical volume it is not possible to use added space above the defined "VG Max Size" when the VG was created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:18 PM
тАО07-21-2008 11:18 PM
Re: Extend LVM Volume group
> vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4238
VGDA 2
PE Size (Mbytes) 8
Total PE 4228
Alloc PE 3801
Free PE 427
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0.0
usr/sbin/vgmodify [-B bootable] [-e max_pe] [-l max_lv] [-n] [-p max_pv] [-r] [-v] vg_name [pv_path...]
Do you want to change the max_pe value?
See
http://docs.hp.com/en/B2355-60130/vgmodify.1M.html
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!
![](https://community.hpe.com/html/assets/select-arrow.png?F89AC8BE8EE85C24E5406B29321738C0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:25 PM
тАО07-21-2008 11:25 PM
Re: Extend LVM Volume group
yes you can increase Max PE per PV but you may have to increase the PE Size value as well so it can accomodate all the headre information.
Read man vgmodify for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:28 PM
тАО07-21-2008 11:28 PM
Re: Extend LVM Volume group
You can Change Max PE in VG with vgmodify command in 11.31, it was not supported by HP before 11.31.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:34 PM
тАО07-21-2008 11:34 PM
Re: Extend LVM Volume group
http://docs.hp.com/en/B3921-60631/vgmodify.1M.html
(this is
HP-UX 11i Version 2: December 2007 Update)
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!
![](https://community.hpe.com/html/assets/select-arrow.png?F89AC8BE8EE85C24E5406B29321738C0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:38 PM
тАО07-21-2008 11:38 PM
Re: Extend LVM Volume group
The output below is not from the VG that needs to be extended but shows the parameter "VG Max Size" I mean.
# vgdisplay -v vgS32logexe
--- Volume groups ---
VG Name /dev/vgS32logexe
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 3
Open LV 3
Max PV 511
Cur PV 1
Act PV 1
Max PE per PV 48128
VGDA 2
PE Size (Mbytes) 1
Total PE 48119
Alloc PE 47104
Free PE 1015
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 47g
VG Max Extents 48128
The value must be defined in case of LVM version 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:41 PM
тАО07-21-2008 11:41 PM
Re: Extend LVM Volume group
I mean to say before 11.31
use vgmodify on 11.23 as a patch PHCO_35524
or vgmodify is part of 11.31
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 11:46 PM
тАО07-21-2008 11:46 PM
Re: Extend LVM Volume group
It's a calculated value, see
Max PE per PV 48128
PE Size (Mbytes) 1
Total PE 48119
Alloc PE 47104
VG Max Size 47g
Max PE per PV * PE Size = VG Max Size
48128 * 1MB = 48GB (rounded)
So you need to increase the max_pe value.
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!
![](https://community.hpe.com/html/assets/select-arrow.png?F89AC8BE8EE85C24E5406B29321738C0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 12:08 AM
тАО07-22-2008 12:08 AM
Re: Extend LVM Volume group
In order to increase this you must delete and re-create this VG.
See also
http://docs.hp.com/en/lvm-v2/LVM_Version2.0_VG.pdf
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!
![](https://community.hpe.com/html/assets/select-arrow.png?F89AC8BE8EE85C24E5406B29321738C0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2008 12:24 AM
тАО07-22-2008 12:24 AM
Re: Extend LVM Volume group
I will inform my customer
regards,
Hennie