LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Recommended filesystems sizes ? (https://www.linuxquestions.org/questions/red-hat-31/recommended-filesystems-sizes-642314/)

Vilius 05-15-2008 02:43 AM

Recommended filesystems sizes ?
 
Hi,

I'm trying to install Red Hat enterprise linux as v4, my disk is 135Gb size, and I decided to create these filesystems using LVM:
/
/boot
/home
/opt
/tmp
/usr
/var

and swap.

What recommended sizes could be for these, except /boot and swap partitions(I already decided for those).

thanks
Vilius

blacky_5251 05-15-2008 04:40 AM

Well it really depends on what you're using the machine for. For example will it host a web-site that will store lots of data? Perhaps /var needs to be large in that case.
Where will your email be stored? /var or /home? Sizes for those will then depend on how many users and how much email you're allowing them to store (assuming IMAP and not POP).

The short answer is - "How long is a piece of string?" We need more info to help you. All I can suggest now would be about 10Gb (plenty of room for growth and extra packages) in /usr. Perhaps 2G or 4G in /tmp, but again it depend on what you're using the box for.

Vilius 05-15-2008 05:54 AM

I'm building a server.
It will host IBM Web sphere portal, so it's web server in general?

blacky_5251 05-15-2008 06:00 AM

Web sphere can mean many things... I guess you'll need a few gig in /opt, and lots in /var. Perhaps 5G or 10G in / and /home. Leave the rest unallocated so you can expand any of your filesystems when/if needed.

DotHQ 05-15-2008 07:34 AM

You know you can load it all under root / and not have to size the various partitions. Using LVM you could then grow as needed if you don't allocate it all during the install.

There are advantages to separate partitions for backup and restore purposes, but hard to know what you will need. I run some web servers without websphere and size them this way:

/ 4g
/boot 102m
/home 10g
/opt 20g
/tmp 4g
/usr 30g
/var 20g
/u01 for oracle - 50g
/backup rest of space.

No idea if this will be optimal for you but it works for my applications.

unSpawn 05-15-2008 07:41 AM

Make sure you *want* LVM. If you are really sure you want LVM then make sure you get acquainted with "features" of and backup and restore procedures for LVM before you install packages. http://publib.boulder.ibm.com/infoce...inuxsetup.html lists the bare requirements for WAS, docs you should read first anyway IMHO.


All times are GMT -5. The time now is 07:22 AM.