- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Max_PE_per_PV too small?
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
12-19-2006 05:36 AM
12-19-2006 05:36 AM
vgcreate -s 64 /dev/vg01 /dev/dsk/c6t0d0
vgextend: Warning: Max_PE_per_PV for the volume group (1199) too small for this PV (1359).
Using only 1199 PEs from this physical volume.
Should I go to "-s 128" or adjust Max_PE_per_PV with the "-e" switch?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 05:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 05:43 AM
12-19-2006 05:43 AM
Re: Max_PE_per_PV too small?
For now looks like you'll need to calculate the max pe yourself and specify "-e maxpe". No need to keep increasing the pe size when all you need is for more extents.
ex/ for 8GB disk use default pe size (4MB) and "-e 2048". Use care with choosing the parameters, once their set you're done for the life of this VG. Only way to change it in the future would be to recreate the VG.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 05:43 AM
12-19-2006 05:43 AM
Re: Max_PE_per_PV too small?
HTH,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 05:50 AM
12-19-2006 05:50 AM
Re: Max_PE_per_PV too small?
Now, I used the following switches:
vgcreate -s 32 -e 3200
I got no error and all looks good.
Is that good enough, or should I make -e a factor of 2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 05:55 AM
12-19-2006 05:55 AM
Re: Max_PE_per_PV too small?
If this won't meet your needs, then recreate the VG using larger parms for max PV or max PE. One thing to look out for is the size of /etc/lvmconf/vgname.conf file. With larger parms and extent size these files can also be larger than you're used to. A small root fs could fill up fast if you're adding a lot of similar volumes.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 06:03 AM
12-19-2006 06:03 AM
Re: Max_PE_per_PV too small?
The number of physical extents chosen does not have to be a power of two as you asked. It should be a value that is equal or larger than the largest physical disk you will ever add
Once you create a volume group, you can't change its LVM geometry without recreating it. Hence, choose wisely. For example, if you need 10 physical volumes initially, but might want to double that later, be sure to specify '-p 20' for the 'max_pv'.
The overall LVM header (VGRA) resides in one physical disk extent (on each member of a volume group). The size of the Volume Group Reserved Area (VGRA) is proportional to the values of 'max_pe', 'pe_size' and to a lesser extent 'max_pv' and 'max_lv'. Chapter-16 of the Software Recovery Handbook has a table showing this.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 06:04 AM
12-19-2006 06:04 AM
Re: Max_PE_per_PV too small?
This is how I got to this number 3200. I ran vgcreate with -s 64 while this gave me an error, it told me about the Max_PE_per_PV numbers it had and would use and it seemed that -e 1600 would work. So I figured that if I halved -s to 32 I would have to double -e from 1600 to 3200 and I did that.