recommended partitioning for 80 GB Drive

boatdesign

Well-Known Member
Sep 13, 2003
158
0
166
The documentation says
001 GB /
050 MB /boot
001 GB /tmp
010 GB /usr
007 GB /var
001 GB swap
Remaining space to /home
so for an 80 GB drive this would translate to:
001 GB /
050 MB /boot
001 GB /tmp
020 GB /usr
014 GB /var
001 GB swap
Remaining space to /home
Can someone run down what is stored in eacn partition?

I take it the bulk of web site data is stored on the /home partition?

Where is mysql data stored?

Logs for each web site?
 
Last edited:

boatdesign

Well-Known Member
Sep 13, 2003
158
0
166
also: best use of second hard drive

Also in conjunction with the above question, if I have a second 80 GB drive, what is the best use of this drive for performance and security in addition to using it for backups?

Should I move mysql data to the second drive for example and will this create any problems for cPanel? Or is there a better use of the second drive? How will this impact the default partitioning layout and sizes I should choose?
 

SupermanInNY

Well-Known Member
Jul 19, 2003
255
0
166
I believe the MySQL files are in VAR.
My system has the /home and /var placed on a RAID-5 and
/
/root
/boot
/backup

located on a single drive which is not part of the RAID-5 HDs.

HTH

-Alon.