0

I have just taken delivery of a new Centos 7 web server which comes with a 4Tb HDD and 240Gb SSD. Both are hardware RAID.

As it stands everything is installed on the SSD. I will need more than 240Gb space and would like some ideas on how to set the file system up to best take advantage of the SSD.

For example, is it a good idea to put the mySQL files on the SSD? And will it make any difference where the website scripts are?

4
  • 2
    This can't really be answered by anyone except yourself. You need to know how the different components of your setup are used and what would profit most from fast disk access.
    – Sven
    Mar 30, 2017 at 15:13
  • @Sven I'm really looking for a basic set up that can be further optimised. As the title says it is a web server so this will involve the usual components - php, mySQL, Apache/nginx plus a various caching - some file-based and some memory based... Surely there's a rough guideline based on this. Even if it is tweaked afterwards. Mar 30, 2017 at 15:43
  • Even if it is tweaked afterwards. That's the point. Set your system up, set up monitoring and observe. Then optimize.
    – Sven
    Mar 30, 2017 at 15:46
  • i'd use zfs. make a small / partition on the ssd. then set up a zfs pool using the hdd and set up additional partitions on the SSD for cache and ZIL. this way the SSD can cache reads and writes to the HDD...
    – Brad
    Mar 30, 2017 at 19:42

0

You must log in to answer this question.

Browse other questions tagged .