- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PE extent 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
тАО02-01-2010 12:59 AM
тАО02-01-2010 12:59 AM
I know that default size of an PE is 4 MB and we can assign the value to a PE more than 4 MB.
What is the advantages by assigning more than 4MB to a PE
Regards
Pavan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 01:15 AM
тАО02-01-2010 01:15 AM
Solutionplease refer below note :--
NOTE: One of the VG├в s parameters is max_pe, i.e the maximum number of physical extents this VG can handle per disk. The default value is 1016. Multiplying this with the default PE size of 4MB results in approx. 4GB disk space that can be handled by this VG. Adding a larger disk to this VG later is not possible. Believe me - there are absolutely no options to do this other than vgcreate! Anyway - vgcreate automatically adjusts max_pe in order be able to handle the largest PV given in the arguments. Its always a good idea to set max_pe explicitely to a value large enough to allow for future expansions. This can be done with the -e option of vgcreate.
You can use this command to create VG with specific PE size
#vgcreate ├в s 4 ├в p 16 vgnew /dev/dsk/c0t5d0 /dev/dsk/c0t6d0
Regards,
Subodh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 01:40 AM
тАО02-01-2010 01:40 AM
Re: PE extent size
if you use PE size of 4 MB and MAX_PE that is max PE per pv is 65535 then single disk of size 4*65535MB can be accomodated in the VG.
if PE size is 256 MB and max PE is set at 5000 then the maximun size of disk that cane be added to the VG is 256*5000MB.
PE size paramaeter can be set only at the time of creating a VG and cant be later on modified as such.
MAX PE can be modified using vgmodify caommand and assocaited patches if vgmodify is supported.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 02:13 AM
тАО02-01-2010 02:13 AM
Re: PE extent size
ie the size that can be used from a PV = pe size x max_pe_per_pv
here only max_pe_per_pv can be changed after vgcreation .
and its maximum value is 65535 meaning that if the pe size is 4 mb you can use only appox 140 Gb(4x65535) space from a single pv ,
2) the maximum size of LV that can be create in a vg = Pe size x 65535
ie if the pe size is 4MB ,you are limiting the maximum lv size to 140Gb even when you have more free space on the vg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 02:39 AM
тАО02-01-2010 02:39 AM
Re: PE extent size
I believe you can add bigger disk than 256*5000MB but only 256*50000MB will be usable from that pv and the rest space will remain unaddressed/unused
Rgds!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 02:40 AM
тАО02-01-2010 02:40 AM
Re: PE extent size
Thanks for your responces.So its always better idea to have PE size with more than 4MB to support future inclusions.
vgmodify -e can be done online or have to deactivate VG..?
REgards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 03:19 AM
тАО02-01-2010 03:19 AM
Re: PE extent size
What Johnson said is true as we can add the disk more than PE size*65535 but only that much space could be allocatable from that PV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 03:27 AM
тАО02-01-2010 03:27 AM
Re: PE extent size
Volume group version 2.0 and higher -- vg should be active
volume group version 1.0 use --- vgmodify -a if the vg is active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 08:20 PM
тАО02-01-2010 08:20 PM
Re: PE extent size
Only HPUX 11.31 -> Supports "vgmodify"
>>>vgmodify -e can be done online or have to deactivate VG..?<<<
All the physical volumes associated with the volume group must be available for the vgmodify command to succeed.
for more information check below link
http://docs.hp.com/en/B2355-60130/vgmodify.1M.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 09:08 PM
тАО02-01-2010 09:08 PM
Re: PE extent size
And and interesting toss of answers.
The size of the PE serves two purposes:
a) First PE is the LVM header or 'VGRA' (* volume group reserve area *) on every PV
b) Determines the number of 1024 blocks of data per PE
a) The 'VGRA' contains all the metadata needed so establish the length and bredth of each PV and VG and LV, as well as the VGID which is used in MC/SG. Without this information Online JFS file system blocks of data would cross out of and into disk segments that they shouldn't.
Note the most common error seen when a PE is too small is : "File too large".
When you see 'File too large' then the PE has run out of room and can no longer serve as an LVM header / VGRA.
PE size is determine with this formula:
PE_SIZE = 2 * ( 30 + MAX_PE ) / 1024
Note: 1024 = file system block size.
(* Note that I can no longer find the reference to this formula, the doc has been moved. *)
See below:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1265085643267+28353475&threadId=1195441
http://docs.hp.com/en/5992-6576/5992-6576.pdf