- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re : How to change max pv per pe
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
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
11-14-2005 01:19 AM
11-14-2005 01:19 AM
Re : How to change max pv per pe
Can anyone advice how can I change the max_pv per pe. Attach is the message when I try to create a vg of 100GB. Please advice??
# vgcreate /dev/vg26 /dev/dsk/c18t2d0
Increased the number of physical extents per physical volume to 51199.
vgcreate: Volume group "/dev/vg26" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.
# vgcreate /dev/vg27 /dev/dsk/c18t2d1
Increased the number of physical extents per physical volume to 51199.
vgcreate: Volume group "/dev/vg27" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.
Regards
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 01:24 AM
11-14-2005 01:24 AM
Re: Re : How to change max pv per pe
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 01:29 AM
11-14-2005 01:29 AM
Re: Re : How to change max pv per pe
The geometry of the LVM structures is fixed during 'vgcreate' and must fit into one physical disk extent. The 'max_pe' and 'pe_size' have the largest influence on the overall LVMRA (LVM Reserved Area)size. I suggest that you increase the 'pe_size' at least.
There is a table in the LVM chapter of the Software Recovery handbook which offers some suggested sizing combinations:
http://www1.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/LVM.pdf
Regards!
...JRF...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 01:29 AM
11-14-2005 01:29 AM
Re: Re : How to change max pv per pe
Rebuild the vg from scratch.
try the -p
parameter in vgcreate
If you limit the number of physical volumes in the VG the amount of PE's available is spread over a smaller number of disks.
Be careful. Under this scenario, the one I use if you need to add a disk beyond
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 01:56 AM
11-14-2005 01:56 AM
Re: Re : How to change max pv per pe
1. backup your data
2. Remove the vg
3. Recreate the vg
4. restore your data
If you have the foresight, you can increase that parameter via the -e switch. Setting it to the max of 65535 should allow you to add a disk of any size to the vg regardless of the sizes of the disks on which it was originally created.
To date, I've yet to have had that level of foresight...
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 08:34 AM
11-15-2005 08:34 AM
Re: Re : How to change max pv per pe
Your options are limited. You either have to follow what you see above to have a supported vg or call your HP support Rep. (if you have support) and ask for an unsupported tool called vgmodify.
NOTE - vgmodify as far as I know is unsupported.
good luck,
peyman;
P.S. attached is the manpage for vgmodify (hpus 11.11 only)