Skip to main content

Centos partitions

Comments

9 comments

  • GOT
    The default is really fine where you put all your space on /, but having two small SSD's up front does make this a bit of a challenge. If it were me, I would probably RAID1 those two SSD drives and RAID the two SATA drives and partition like this: sda=SSD raid1 sdb=SATA RAid1 sda1 - /boot 500M sda2 - SWAP 4G sda3 - /tmp 2G sda4 - / rest of array sdb1 - /home
    0
  • popeye
    The default is really fine where you put all your space on /, but having two small SSD's up front does make this a bit of a challenge. If it were me, I would probably RAID1 those two SSD drives and RAID the two SATA drives and partition like this: sda=SSD raid1 sdb=SATA RAid1 sda1 - /boot 500M sda2 - SWAP 4G sda3 - /tmp 2G sda4 - / rest of array sdb1 - /home

    I thought swap was meant to be swap --> same as RAM or 1.5 times the RAM. ? and hte server had 96Gb What's /home.QUOTE The SSD drive will be just for the operating system. below is how my old servers are setup. but i do need a partition for backups /tmp 4Gb /var 200Gb /usr 100Gb /home what's left / /boot 2Gb /var/tmp 4Gb
    0
  • GOT
    For swap anything over 4gb is a total waste. With 96 GB ram you should never even be using swap really unless something is badly misconfigured. /home is where your user data (other than databases) are stored. The way I have this your OS files and databases will run off the ssd array and your user data (php, html, email) would be stored on the SATA array.
    0
  • popeye
    For swap anything over 4gb is a total waste. With 96 GB ram you should never even be using swap really unless something is badly misconfigured. /home is where your user data (other than databases) are stored. The way I have this your is files and databases will run off the ssd array and your user data (php, html, email) would be stored on the data sata array.

    Sorry lost me know
    0
  • cPanelLauren
    Sorry lost me know

    What are you lost on? Maybe we can clarify?
    0
  • GOT
    I edited my post, phone auto correct got me in a couple of places. Changes are underlined. If you are still lost, please elaborate on what we can clear up for you.
    0
  • popeye
    I edited my post, phone auto correct got me in a couple of places. Changes are underlined. If you are still lost, please elaborate on what we can clear up for you.

    I think the OS files all run off the SSD and nothing else
    0
  • GOT
    Yes, in the set up I laid out, all the OS files would run off the SSD. As would the user database files which would really be prefereable performance wise and since you have enough room for them there.
    0
  • popeye
    I think the OS files all run off the SSD and nothing else

    Yes, in the set up I laid out, all the OS files would run off the SSD. As would the user database files which would really be prefereable performance wise and since you have enough room for them there.

    I am not sure if /var runs off the SSD on the server i have now becasue it's 150Gb and the boot drive for the OS is only 120Gb how can i check what runs off the SSD and SATA on the servers i have now.
    0

Please sign in to leave a comment.