How to use partitions

Artis

Verified User
Joined
Jun 24, 2012
Messages
36
Location
Zagreb - Croatia
Hi to all,

I'm just going to buy new server and I have two HDD, first one is 32 gb SSD and second one is 1000 gb HDD in raid 6. So my question is how to use it for my hosting. Currently I have 68 domains and I need about 70 GB of space.

What is best solution for this HDD how to use first hdd and how to use second one ?
 
I would recommend putting /home on the 1000GB HDD disk. Also, RAID6 is not recommended in WEB hosting environments, so it would be better to go with RAID5 or RAID10. If you'd still like to "share" homes between the 2 partitions, please check http://help.directadmin.com/item.php?id=451.
 
I'd put /tmp, /var/lib/mysql, and /var/log on the SSD, snf /home and all other partitions/directories, on the HDD.

Since files in /tmp, /var/lib/mysql, and /var/log get written to most often that should speed things up quite a bit.

Note that /home/*/imap get's written to quite a bit as well, but I wouldn't put email on the 32GB ssd for at least two reasons:

1) It's not easy, there'd need to be multiple mountpoints and you'd need to create them whenever adding/removing users.

2) 32 GB is likely not enough to house a mailstore in todays world (heavy imap usage).

Jeff
 
Back
Top