Database and static files on other disk
I have 2 raid arrays.
raid 1, 17 GB
raid 5, 52 GB
Each array is on it's own channel, connected to a LSI megaraid 320-2x scsi raid controller.
I run Centos 4.3 and directadmin on the raid 1 array.
I want my databases and static files (images, html. php, asp etc.) on the raid 5 array. Do i have to mount my raid 5 array to /var and /home? Or just make a new directory and mount my raid 5 array to it, and configure mysql and directadmin to store the databases and static files in that directory?
If i just mount it to /var and /home, all data will be spread among the raid 5 AND raid 1 array right? Because /var and /home are originally mounted to the raid 1 array.
If you have any suggestions how i should do it, please let me know!
Thanks.
|