- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Recommended Number of LV's per VG
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
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
01-19-2006 02:34 AM
01-19-2006 02:34 AM
Thanks,
Tonya Underwood
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:43 AM
01-19-2006 02:43 AM
Re: Recommended Number of LV's per VG
If the PVs are from an intelligent array, like a XP, I would suggest picking the luns from the different RAID Group and striping the LV across the luns.
If you dont have powerpath/securepath installed, you will need to carefully select the primary links so as to distribute the load across the cluster ports. (CL1/CL2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:47 AM
01-19-2006 02:47 AM
Re: Recommended Number of LV's per VG
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:47 AM
01-19-2006 02:47 AM
SolutionIf your VG can handle the number of disks, you could have 1 large VG with a whole lot of LVs.
If you have several applications on a machine, it may make sense to split each apps data into a separate VG to make management easier.
It also depends on how large your disks are. If you have a single giant disk, then you are restricted to a single VG with multiple LVs. If you have lots of smaller disks, it may make more sense to split them up into multiples.
Whatever is easiest for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 02:56 AM
01-19-2006 02:56 AM
Re: Recommended Number of LV's per VG
So, your next question may be - why have more then 1? for flexibility.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 03:15 AM
01-19-2006 03:15 AM
Re: Recommended Number of LV's per VG
One consideration, is that the maxiumum number of logical volumes as defined at 'vgcreate' (via 'max_lv') influences the size of VGRA (Volume Group Reserved Area). Since the VGRA must fit into one physical disk extent, choosing a value that is very high in relation to your needs is potentially troublesome. It is noteworthy, though, that the 'max_lv' value has the lowest impact on the overall VGRA size, behind that of 'max_pe', 'max_pv' and 'pe_size'. Still, I try to choose "reasonable" 'max_lv' values that fit my current and my anticipated layouts.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 04:12 AM
01-19-2006 04:12 AM
Re: Recommended Number of LV's per VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 07:50 PM
01-19-2006 07:50 PM
Re: Recommended Number of LV's per VG
There are no suggestions for max LV's actually.
The important parameters you should be worried about while creating the VG shall be PE_Size,MAX_PE_PER_PV & MAX_PV_PER_VG.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 01:11 AM
01-20-2006 01:11 AM
Re: Recommended Number of LV's per VG
So it was more a question of if I create 10 vg's with 50 a piece, do I get better performance than creating 2 vg's with 250 a piece.
From the above recommendations, I believe the conclusion is "it just doesn't matter".
As always, thanks so much and correct me if I've come to the wrong conclusion. I will assign points when I close the question...
Tonya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 01:20 AM
01-20-2006 01:20 AM
Re: Recommended Number of LV's per VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 01:28 AM
01-20-2006 01:28 AM
Re: Recommended Number of LV's per VG
I don't think that performance is going to differ much between the case of a small number of volume groups each containing a large number of logical volumes; versus a large number of volume groups each containing a relatively few logical volumes. I think the choice is one of how you want to mangage the volume groups and their physical disk. You should consider the potential to *add* more physical disk to a volume group later. Remember that the VGRA must fit into one physical extent and once a volume group is created, it's VGRA geometry is fixed (at least in current releases).
Since you cited ten (10) volume groups as one choice, I would point out that you may need to adjust your kernel's 'maxvgs'. The default value is ten and you already have vg00 counted at the first. The maximum value is 255, but don't inflate your setting unnecessaryily. About 4-8KB of lockable physical memory is consumed for each increment in 'maxvgs'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 01:36 AM
01-20-2006 01:36 AM
Re: Recommended Number of LV's per VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2006 01:42 AM
01-20-2006 01:42 AM
Re: Recommended Number of LV's per VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 04:34 AM
01-30-2006 04:34 AM
Re: Recommended Number of LV's per VG
A reason for splitting in several lvols might be if you want to have different mount parameters for the lvols...