- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What value to use for max_pv & pe_size
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-16-2003 11:56 AM
тАО07-16-2003 11:56 AM
What value to use for max_pv & pe_size
If the pe_size is 4MB, does the OS read/allocate space to a file based on this 4MB or the old 512 byte size?
Thanks
-Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 12:04 PM
тАО07-16-2003 12:04 PM
Re: What value to use for max_pv & pe_size
With today's need for more disk space and the use of bigger drives, the max_pv and pe_size defaults are too small.
Assigning the max values increases overhead a little, but it cannot be changed after the volume group is created. I'd go with the max values rather than get into a situation where I need to recreate the volume group (which can be a time consuming process).
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 12:06 PM
тАО07-16-2003 12:06 PM
Re: What value to use for max_pv & pe_size
64 -- and that would be a nightmare.
The PE size does not affect how space is allocated within a filesystem --- remember the LVOL is way below the filesystem. The major impact of PE size is the ultimate size of the VG. A secondary impact is the "stripe" size if you are doing extent-based striping but in that case you would want the smallest possible stripe -- a PE of 1MB and that's still far too large to be a good stripe.
I suggest that when you recreate the VG, you start with the largest LUN or drive or specify a -e max_pe that will accomodate your largest anticipated physical volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 12:09 PM
тАО07-16-2003 12:09 PM
Re: What value to use for max_pv & pe_size
The values for 'max_pv', 'pe_size', 'max_pe' and 'max_lv' all factor into the size of the LVM header which then *must* fit into one physical disk extent.
'pe_size' is usually adjusted upwards to accomodate larger LVM headers. I would think about your long term storage needs carefully. As physical disks become larger (i.e. with more physical extents) you would want to be able to support a larger 'max_pe' value than perhaps you do today. Thus I would tend to trade 'max_pv' toward a lower value and 'max_pe' to a larger one as I plan for adding disks over time.
The 'pe_size' is the mininum size for allocatiing disk extents. It is the granule at which LVM mirrors extents but it does not enter into file space allocation. Remember, a filesystem resides *within* the logical volume "container".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 12:39 PM
тАО07-16-2003 12:39 PM
Re: What value to use for max_pv & pe_size
Lets add to the mix, this all resides on an XP512 using RAID-5 and OPEN-9 resulting in 7040MB LUN's presented to the OS. Max_pe is per physical volume so that number will not change as all LUN's are a maximum of 7040MB (I can use VSC to create smaller ones from the left overs, but lets ignore that for now) and I intend to use the same pe_size for all volumes. It would be easier (to remember) if I left pe_size at the default of 4MB. That means max_pe will always be 1760.
Given that all LUN's from the XP will be 7GB, it is not that hard to believe that some day I will double from 15 LUN's in a vg (the value of 2 VG's at 96% utilization) to 32. At that time I would have to repeat this exercise and rebuild that VG.
Does anyone really know the overhead cost of different values for max_pv? Why not set it to 255 and never worry about it again?
-Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2003 01:07 PM
тАО07-16-2003 01:07 PM
Re: What value to use for max_pv & pe_size
If you want to set the 'max_pv' value to 255 then you can. This parameter has fairly little impact on the LVM header (VGDA) size and hence its required fit into one physical disk extent. The values of 'pe_size' and 'max_pe' have the most effect on the LVM table size.
Regards!
...JRF...