Installing CentOS/Cpanel on SSD plus RAID 10 for home directory

jsniper

Member
Sep 8, 2005
6
0
151
I will be using my cpanel server to host one website that will be a video sharing website similar to youtube. I would like to know if what I write below is a good idea.

Install CentOS 5.7 (64 bit) with Cpanel on the 60GB SSD (solid state) hard drive but while installing Cpanel I want to set the home directory to use my RAID 10 drives. I have four 2TB hard drives which are giving me 3.8TB in total. I also want to make sure that mysql stays on the SSD drive too.

I want to use those large hard drives to store the home directory since the user account that will be hosting the video website will also be using their home folder to store the videos that will be uploaded as well as streaming.

If this sounds like a good idea, can you tell me the commands to format and partition my hard drives? I already have the RAID 10 setup and the SSD also. Basically the system sees 2 disks, the SSD and the RAID 10 array.

Thank you
 
Last edited:

wizzy420

Well-Known Member
Nov 13, 2007
127
2
68
Simply install CentOS as you would normally on the 60GB drive, use fdisk to partition raid array, create a file system on raid array, mount as /home, edit fstab and add /home, run yum update, reboot to be sure /home is mounted on boot

run install script for cpanel

I would be scared to use a single 60GB SSD, would be prudent to use two in a mirror.
 

jsniper

Member
Sep 8, 2005
6
0
151
Simply install CentOS as you would normally on the 60GB drive, use fdisk to partition raid array, create a file system on raid array, mount as /home, edit fstab and add /home, run yum update, reboot to be sure /home is mounted on boot

run install script for cpanel

I would be scared to use a single 60GB SSD, would be prudent to use two in a mirror.

Thanks for your reply.
 

wizzy420

Well-Known Member
Nov 13, 2007
127
2
68
If redundant SSD isn't possible here's a thought ... install CentOS on RAID array.

fdisk & mount SSD on /var/lib/mysql

Do as above, reboot, make sure mysql still mounted ... install cpanel

This would get your boot/logs on RAID and SQL on SSD

then a good backup plan to keep that single SSD database backed up to RAID array

Still think 2x SSD and mirroring would be best