Link to home
Start Free TrialLog in
Avatar of aandrade
aandrade

asked on

Partitioning strategies for install

I'm trying to figure out the best solution/strategy for partioning my server for Red Hat Linux 9.0 install.  I have three hard (40gig each) drives set up for RAID 5 and I want to install RedHat Linux 9.0.  I will be running Apache2 webserver, Jboss application server, mySQL database, CVS (Concurrent Versioning System) for Software Developers.  First off can I partition this set up (3 drives + Raid 5)?  Second, how should I partition my drives? i.e. / ~1gb, /var ~ 1gb, /boot ~ 512mb, /home, /usr etc...

Please help
Avatar of troopern
troopern

I would make /var larger than 1GB . since the Database will be created here, also the maildirs might be in /var/mail/
Example:
/ = 3GB
/boot = 100MB (max 100MB, not much will be used in /boot)
/usr = 5GB
/var = 5+GB (logs, databases, maildirs and probably even your directory root, so make it quite large, larger than you think is nessescary, or just create partitions for /var/log /var/www etc, that has according to your needs enough space)
/home = 5-10GB (depending on how many users and how much space you are willing to let users use.)


This is what I've would have started with, then I would start applying more diskspace to varios partitions after I've drawn a sketch of what services will be needed and how much space all of them will be using, approximately.
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'd go more with jlevie's suggestion
  take care where you install software: /usr/, /usr/local, /opt
  configure your software/application so that their data resides in non-standard directories (better /opt and /home than /var or /usr/local)
this save headaches when re-installing or upgrading
If security is not an issue, use a large / and no /var and /usr partition
If security counts, use own partitions for / /var /usr and /tmp
I agree, jlevie's suggestion is far better than mine.