Operating System - HP-UX
1846644 Members
2224 Online
110256 Solutions
New Discussion

volume group to support > 1 TB

 
brian_31
Super Advisor

volume group to support > 1 TB

I need a single volume group to be created to support more than 1 TB of data. what would be the best way to plan and create this VG?

Thanks

Brian
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: volume group to support > 1 TB

Your main concern is to make sure both the PE size and the MaxPV paramater are sufficient to support the maximum size desired. Other than that, there is really nothing special required.


Pete

Pete
RAC_1
Honored Contributor

Re: volume group to support > 1 TB

You need to take into account the disks, lvols that you plan to put into this volume group. Depending upon the disk sizes you will have to set pe size and max pes under the volume group. Read man page of vgcreate, particularly, -s ,-p -l and -e options.

Also the lvol size and resulting max FS size would depend upong underlying vxfs version.
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: volume group to support > 1 TB

Shalom,

The best way is to at vgcreate time use one of two parameters.

[-p max_pv]

This parameter limits the total number of physical volumes, but permits the same number of physical extents in the volume group than default.

The default for vgcreate is 255 maximum volumes. This spreads the possible physical extents of a volume group over 255 disks, wasting most of them, since most volume groups have far fewer disks these days.

You can also make the Physical extent size bigger with this parameter.

[-s pe_size]

These settings can not be changed on a volume group after creation.

You are asking the right question, at the right time, prior to creating the volume group.

kudos.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
DCE
Honored Contributor

Re: volume group to support > 1 TB

Brian,

Bear in mind that there is an upper limit to the VG size. I believe 2TB is the current max. I know I could not create a 2.5 TB VG and wound up making two VG's instead of one.

I know it is hearasy on this forum, but SAM will create the VG correctly if you include all of the disks when you initially create the VG.
Mridul Shrivastava
Honored Contributor

Re: volume group to support > 1 TB

If we use 256 MB as PE size and use the max limit fo max_pv's that is 65536, max vg size can be upto 16TB. so as suggested above use -p and -e options while creating vg to get the desired size.
Time has a wonderful way of weeding out the trivial