- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volume Group Creation: 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
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
11-13-2001 06:17 PM
11-13-2001 06:17 PM
Can anybody advise on an optimal PE size(-s option)when creating Vol Grps (vgcreate). If the number of PV's(-p) and maximum physical extents per PV (-e) are sized appropriately is there any need to worry about extent size.
I've seen from previous discussions that extent size doesn't impact performance. Assuming I set PV's (-p) to 50 and max extents (-e) to 4205 and extent size (-s) to 8, then I can use up to a 33GB disk (LUN)in this Vol Grp and have a potential maximum VG size of 1650 GB (33 * 50).
Is there any advantage in confuring a larger extent size (such as 16 or 32) apart from being able to configure larger disks into the VG?
Also is there much overhead in setting the no. PV's to the maximum (ie 255)?
Thanks for any help.
Cheers
Con
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:22 PM
11-13-2001 06:22 PM
Re: Volume Group Creation: PE Size
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:36 PM
11-13-2001 06:36 PM
Re: Volume Group Creation: PE Size
Generally there is no need to change the PE
size, unless there is great reason to do so
because of the way your database may be laid out.
Be careful about trying to attempt to add
larger disks to your volume group. If for
example you have created you VG with a 4GB
disk, you can add a 9GB disk but you will not
be allowed to use the full number of extents.
It will size the disk as a 4GB disk only.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 06:39 PM
11-13-2001 06:39 PM
Re: Volume Group Creation: PE Size
You make a GREAT point, that all disks in a VG should be identical, in every way possible. Mixing disk types or models will negatively impact performance. They must all spin at the same speed, have the same IO rate, seek time, scsi or whatever type of access. And of course that means that Mirrors of LV's have the same identical disks.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 07:00 PM
11-13-2001 07:00 PM
Re: Volume Group Creation: PE Size
In reality, PE size has no performance impact. Bear in mind that the PE's are specified in MB's while any reasonable I/O occurs in KB's. The PE size is much more a resource variable (i.e. total number of PE's) than it is a performance variable. Stripping within LVOL's also in measured in KB's so again - no big difference. If you are mixing heterogeneous drives within a volume group, create the volume group with the largest drive; you will then always have enough PE's per physical device.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:39 PM
11-13-2001 08:39 PM
Re: Volume Group Creation: PE Size
Just to clarify. I am creating new VG's - is there any reasons not to use an 8MB extent (assuming I set the other parameters as previously mentioned). I did read somewhere on the forums that LVM data structures can only reside in one physical extent but I'm not sure what impact this has.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:55 PM
11-13-2001 08:55 PM
SolutionAlso take a look at this thread,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=a23ea0940254d1d48d/screen=ckiDisplayDocument?docId=200000052474625
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 08:58 PM
11-13-2001 08:58 PM
Re: Volume Group Creation: PE Size
There is really nothing wrong with using 8MB
extents, as it depends on what application your
using, what database, raw/cooked.... One thing
that is clear is once you create your volume
group you cannot change the extent size. As
mentioned 4Mb is the default. If you create
yours with 8MB, that's what you got.
Just remember what I said about using different
sized disks in a volume group.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2001 11:06 PM
11-13-2001 11:06 PM
Re: Volume Group Creation: PE Size
why stopping at half the way?
We had that discussion more than once, and to me the basic point is to be able to add more disk space later one, especially larger disks.
Hence I ususally use "vgcreate" with a lot of options, e.g.:
vgcreate -p 100 -l 20 -s 32 -e 2048 /dev/vg...
That permits me to have up to 100 PVs, each of up to 64GB, and I never use hundreds of LVs, so the maximum of 20 of them is fine for me.
And since ALL the header information MUST fit into a single PE, you will NOT run into those problems (which you would with 4MB PEs).
In my opinion the default parameters are just plain useless (they were not that bad back at HP-UX 9).
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 01:49 AM
11-14-2001 01:49 AM
Re: Volume Group Creation: PE Size
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 03:30 AM
11-14-2001 03:30 AM
Re: Volume Group Creation: PE Size
It depends on how much data at a time you want to increase a logical volume when you need to. Usually, one does not increase it by 1 Mb only, but by several Mbs. So whether it is 4Mb or 8Mb does not really make any difference.
Just my thought,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 05:07 AM
11-14-2001 05:07 AM
Re: Volume Group Creation: PE Size
If you are not using Distributed striping
(i.e, lvcreate -D y ), then you are fine
to use 8MB extents. There should not be
any problems.
< I did read somewhere on the forums that LVM data structures can only reside in one physical extent but I'm not sure what impact this has.>
Yes, it has no impact on performance. But,
since the VGDA resides on each disk of the VG and this VGDA is supposed to live on ONE extent, the extent size should be large enough to fit the VGDA. For instance, if you have a smaller VG extent (say 2MB), then it means the VGDA will be smaller , which in turn means it can address only smaller disk sizes!
For a good understanding of the nitty-gritties: refer to this document:
KBRC00004285
cheers
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 05:09 AM
11-14-2001 05:09 AM
Re: Volume Group Creation: PE Size
Another useful document to look upto is:
KBRC00001020
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2004 11:06 AM
11-05-2004 11:06 AM
Re: Volume Group Creation: PE Size
i have similiar problem.
I have 5 LUNs and each lun is 360GB capacity with raid 10.
I would like to create 1 VG (example "vgbackup") with 5 Luns arround 1.5TB in one Logical Volume.
It's possible ?
how to create ? i was give up coz the vgcreate command can't do that.
thanks.
YohanesT@berca.co.id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2004 11:41 AM
11-05-2004 11:41 AM
Re: Volume Group Creation: PE Size
As far as creating terabyte volume groups, certainly vgcreate will do this--but it wil always fail if you don't specify a LARGE PE size. 8Mb is too small. Use -s 32. You can use a smaller PE size but then you must create a larger space for the extent map (the -e option).
Now once the volume group and lvol(s) have been created, whether you can create a filesystem on that 1.5Tb logical volume depends on the version of HP-UX you have and the latest patches. If I remember right, HP-UX 11.00 is now limited to 1Tb filesystems.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2004 12:01 PM
11-05-2004 12:01 PM
Re: Volume Group Creation: PE Size
thanks a lot for your info. everythings was done now. i had configure 1.7TB in one VG with max extend size 64 (optional from SAM).
and, the lvol was create 2 lvol (50%-50%).
thanks again ... and my case can be closed now.
rgds,
Yohanes.