Operating System - HP-UX
1834149 Members
2244 Online
110064 Solutions
New Discussion

size of root volume filesystems

 
SOLVED
Go to solution
khilari
Regular Advisor

size of root volume filesystems

Hi guys, i wanted to ask that wheni am deploying a new system what should be the size of vg00 filesystems. Lets say i have a 36.5 gb hard drive. Then how much should be stand, opt etc etc.
Thanks
13 REPLIES 13
Tim Nelson
Honored Contributor

Re: size of root volume filesystems

Different requirements for different OS versions.

Which one ?

11iv1
11iv2
or 11iv3 ?

khilari
Regular Advisor

Re: size of root volume filesystems

for 11 vi and 11 v2
thanks
Fabian Briseño
Esteemed Contributor

Re: size of root volume filesystems

Hello Khilari.
Im my opinion it really depends on your needs.

in my case I tend to give root and other filesystems I little more space that the default sizes.

for example var I tend to make it bigger in order to capture a crash dump.

Knowledge is power.
Fabian Briseño
Esteemed Contributor

Re: size of root volume filesystems

I forgot to mention I use HPUX 11.11
Knowledge is power.
James R. Ferguson
Acclaimed Contributor

Re: size of root volume filesystems

Hi:

This depends entirely on the release (11.11, 11.23 11,31) AND on the Operating Environment you are installing AND on what additional products you intend to install. Remember that things like the compilers, (C, C++), Perl, 'glance', etc. and add-ons from Internet Express will be installed in '/opt'.

For a general guideline see the installation documentation; e.g. Table 2-1:

http://docs.hp.com/en/5991-8010/ch02s02.html

Regards!

...JRF...

khilari
Regular Advisor

Re: size of root volume filesystems

can u like give me a breakdown,
like 5 gb to stand
4 to opt
etc etc
thanks
Tim Nelson
Honored Contributor

Re: size of root volume filesystems

For HPUX 11iv2

/ 420MB
/stand 300MB
/var 4GB
/usr 6GB
/opt 4GB
/home pick your size
/tmp pick your size

These are a little oversized to accomodate for future patches and HPUX tools.



James R. Ferguson
Acclaimed Contributor

Re: size of root volume filesystems

Hi (again) Khilari:

I would add two or three other comments.

First, aside from the initial choices you make, you "of course" have OnlineJFS licensed on your servers! Hence, you can easily expand your filesystems without unmounting them should you need to do so.

Second, do *not* be tempted to add any non-vg00 logical volumes to your vg00 just because you have free space thereon. Your vg00 is best left for *only* the standard HP-UX logical volumes. Keeping vg00 devoid of any application data facilates Ignite recovery, cloning, operating system upgrades and hardware migration.

Lastly, configure a reasonable but small primary swap space. It is advisable to enable pseudoswap with 'swapmem_on' and then if you need additional device swap, create a non-vg00 seconardy swap device. You don't need to use the last free extents you have for swap. Keep a few in reserve should you need to expand a logical volume and its filesystem.

Regards!

...JRF...
Raj D.
Honored Contributor

Re: size of root volume filesystems

Khilari,

Now itanium systems comes with 72GB Disk, so you will have enough freedom to use a good amount of space for the vg00 filesystems.

ex:

/stand 760MB
swap 16GB
/ 2GB
/home 2GB
/tmp 2GB
/usr 10GB
/opt 16GB
/var 10GB
/var/adm/crash 10GB

Hope this helps,

Raj.


" If u think u can , If u think u cannot , - You are always Right . "
whiteknight
Honored Contributor

Re: size of root volume filesystems


Khilari,

Check this out for 11iv3 requirement on partition.

http://docs.hp.com/en/5991-6460/ch02s01.html#babjiabd

WK
please assign points
Problem never ends, you must know how to fix it
likid0
Honored Contributor

Re: size of root volume filesystems

Tim, on 11v2 i find 300 megs for /stand, to small, i first installed the boxes with 300 megs but now i am using 600 megs, because if you like to keep a couple of diferent kernel configs and also the allways present backup, they dont seem to fit, but it is just an opinion


cya
Windows?, no thanks
VK2COT
Honored Contributor
Solution

Re: size of root volume filesystems

Hello dear colleagues,

The question does not contain the most
important part: what is the size of RAM.

Anyway, let's say we have a 36 GB boot disk
and that RAM is 4 GB.

Here is my way, based on personal
experience and having in mind the
following:

1. Always separate dump from primary swap
(see my other postings why),

2. Plan to have multiple kernel
versions during the lifetime of the server,

3. Primary swap is always 4 GB or maximum
8 GB. I never support the design that sets
primary swaps to large values (for
performance and maintenance reasons),

4. Do not allow large home directories.
The application home directories should be on
SAN, NAS or some other storage - not n boot
disks, hence /home is relatively small
on purpose,

5. I also enforce that /tmp is cleaned up at boot time! I do not allow files hanging
in /tmp for years. It is not meant as
permanent depository area (which, unfortunately, I see at som many customers),

6. I like to rund figures to binary
formats as much as possible (multiples of 2), hence 512 MB, or 1024 MB, or 2048 MB,
and so on,

7. I assume you have access to SAN or NAS
for applications and other non O/S files.

8. The values below are in MegaBytes (MB).

HP-UX 11.31 (v3)
----------------------
/ 1024
primary swap 4096
dump 3072 (or 4096 to match RAM)
/stand 2048
/tmp 1024
/home 512
/usr 4096
/var 4096
/var/tmp 512
/var/adm/crash 3072 (or 4096 to match RAM)
/opt 2048

HP-UX 11.20 to 11.23 (v2)
-------------------------
/ 512
primary swap 4096
dump 3072 (or 4096 to match RAM)
/stand 1024
/tmp 1024
/home 512
/usr 4096
/var 4096
/var/tmp 512
/var/adm/crash 3072 (or 4096 to match RAM)
/opt 2048

HP-UX 11.11 (v1)
----------------------
/ 512
primary swap 4096
dump 3072 (or 4096 to match RAM)
/stand 512
/tmp 1024
/home 512
/usr 4096
/var 4096
/var/tmp 512
/var/adm/crash 3072 (or 4096 to match RAM)
/opt 2048

If you use OpenView for monitoring,
I also add two other small file systems:

/var/opt/perf 1024
/var/opt/OV 1024

You are welcome to ignore my advice -
maybe this does not work well in your environment :)

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Tim Nelson
Honored Contributor

Re: size of root volume filesystems

Dan, Good point.. I agree, If you are keeping more than current and last kernels then 300MB for /stand is not enough.