Operating System - HP-UX
1748019 Members
4394 Online
108757 Solutions
New Discussion юеВ

Re: Increase number of Volume Groups?

 
SOLVED
Go to solution
dictum9
Super Advisor

Increase number of Volume Groups?


What kernel parameter controls the number of Volume Groups you can have? I believe the default is not that high, I want it set to a high value like 100.
5 REPLIES 5
Mel Burslan
Honored Contributor
Solution

Re: Increase number of Volume Groups?

maxvgs is the one you are looking for
________________________________
UNIX because I majored in cryptology...
James R. Ferguson
Acclaimed Contributor

Re: Increase number of Volume Groups?

Hi:

The kernel parameter is 'maxvgs' and it counts zero-relative.

In 11.31 you don't need to set it. It's deprecated and acts as if it were already set to 255.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Increase number of Volume Groups?

Shalom,

If you want to limit yourself to 100, that is of course possible. The default appears to be 255.

I pity you if you get even close to that amount of volume groups.

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
Lijeesh N G_1
Respected Contributor

Re: Increase number of Volume Groups?

Hi,

1) What kernel parameter controls the number of Volume Groups you can have?
==>maxvgs

2)I believe the default is not that high??
==>The default value is 10 in Version 1.0 and the max value is 256,
In 11.31 this kernel parameter is removed.

3)I want it set to a high value like 100.??
==>
#kctune maxvgs=100

Regards,
LIJEESH N G


Armin Kunaschik
Esteemed Contributor

Re: Increase number of Volume Groups?

Your OS is probably not 11.31. As stated before, there is "maxvgs", the maximum is 255, a change requires a reboot.
In 11.31 you are able to create version 2 layout volume groups. You can create version 1 and version 2 volume groups at the same time, so the theoretical maximum of volume groups is 2048 (version 2) +256 (version 1)=2304.

I don't know what application (or what company convention) requires that much volume groups, but if you need that much, you should consider upgrading to 11.31.

My 2 cents,
Armin
And now for something completely different...