- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating large volume group
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
07-18-2006 07:32 AM
07-18-2006 07:32 AM
Is there anything better than just dumping all the disks in it and then doing lvextends on LVs? Some LVs are as large as 60GB. How about contiguous? These are EMC disks and they already have RAID 7 configuration.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 07:51 AM
07-18-2006 07:51 AM
SolutionI think given the sophistication of the SAN, that I'd elect to create the volume group (with some growth factored into it) and simply create the necessary logical volumes without stiping (or distribution) of any kind.
Do not make your logical volumes contiguous as this will greately constain their expansion should you do so later.
By a growth factor for the logical volume, I mean that if you need 10 physical volumes initially, but might want to double that later, be sure to specify '-p 20' for the 'max_pv' since once set this cannot be changed without recreating the volume group. The same applies for the other arguments to 'vgcreate' that go into the LVM geometry --- 'max_pe', 'max_lv' and 'pe_size'. Choose appropriately.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 07:54 AM
07-18-2006 07:54 AM
Re: Creating large volume group
Some advice.
vgcreate -p number
as in
vgcreate -p 20
A volume group only has so many PE's to spread around and the default scheme is for 255 disks.
If you will have a lot less disks, you need to change the scheme to have so much disk space in one volume group.
Since you need 600 of the 760 GB of available disk capacity, you may wish to use a hot spare to provide improved reliability for the volume group. Hopefully the underlying LUN's have some kind of striping to avoid data loss in the event of a single disk failure.
I'm not familiar with raid 7, if you explain that, I or others may be able to elaborate further.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 07:55 AM
07-18-2006 07:55 AM
Re: Creating large volume group
-s pe_size Sets the number of megabytes in each physical
extent, where pe_size is expressed in units
of megabytes (MB) in the range 1 to 256.
pe_size must be equal to a power of 2 (1, 2,
4, 8, etc.). The default value for pe_size
is 4 (four megabytes).
One have to use value 16 or 32 in order to create such a big vg. Additionally you can decrease number of logical volumes (-l max_lv), if pe_size is critical for performance.
See man vgcreate
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:12 AM
07-18-2006 08:12 AM
Re: Creating large volume group
I need to make clear, that these are very large LUNS, each one is 75GB. So 10 disks makes 750GB. I doubt very much it will exceed 255 disks.
Is there still a problem, am I missing something from this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:13 AM
07-18-2006 08:13 AM
Re: Creating large volume group
My PE size now is 4.
Is that a problem, should I increase it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:21 AM
07-18-2006 08:21 AM
Re: Creating large volume group
Look at manual for vgcreate.
There are some parameters in vgcreate which influent on its building and extention, e.g:
-p max_pv Set the maximum number of physical volumes
that the volume group is allowed to contain.
Please take into account that you can not change these settings after vg creation, so try to plan the VG before you begin to use it.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:22 AM
07-18-2006 08:22 AM
Re: Creating large volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:27 AM
07-18-2006 08:27 AM
Re: Creating large volume group
Have a look at the Software Recovery Handbook's LVM chapter-16. The Volume Group Reserved Area (VGRA) must fit into one physical extent. While a 'vgcreate' will fail (and warn you in doing so), you can obtain a better idea of what to expect by examining some of the formula and tables in the aforementioned chapter.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:27 AM
07-18-2006 08:27 AM
Re: Creating large volume group
Oops, see:
http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/LVM.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:33 AM
07-18-2006 08:33 AM
Re: Creating large volume group
Specifying a max_pe of 64Ki (-e 65536) and a pe_size of 16MiB (-s 16) will allow full utilization in any combination of LVOL's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 08:48 AM
07-18-2006 08:48 AM
Re: Creating large volume group
A combination of a larger PE size and limiting the total number of physical volumes should do the job.
The forumulas JRF referred to are what you should look at to make the decision.
The PE size does not impact anything concerning performance. I believe A. Clay has done some actual testing in this regard with Oracle.
Congrats to ITRC's newest King, Victor, my boss.
:-)
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com