Results 1 to 4 of 4
  1. #1

    Question Partitioning scheme on a new server - Intel Xeon E3-1270 V2 @ 3.50GHz

    Greetings,

    I am getting a new server to add to my family. It is a Intel Xeon E3-1270 V2 @ 3.50GHz with 16 GB - Drives 2 X 1TB

    I don't all about servers and its been a while since I had to think about a fast and functional cPanel CENTOS setup.

    What do you think a great partitioning scheme would be best

    1 - /swap0 - 1 GB /boot - 0.1 GB / - 1 GB (Grow)

    2 - Partitioning: Standard Partitioning: LVM with 4gb swap, 100mb /boot, remainder as /

    3 (based on smaller drive)
    /......15GB
    /boot..102MB
    /home..remaining space (about 70GB)
    /usr...15GB
    /tmp...2GB
    /var...50GB
    swap...4GB

    One of my current servers has this when running

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 15G 819M 14G 6% /
    tmpfs 1.9G 0 1.9G 0% /dev/shm
    /dev/sdb1 459G 106G 330G 25% /backup
    /dev/sda1 99M 77M 17M 83% /boot
    /dev/sda8 374G 48G 308G 14% /home
    /dev/sda7 2.0G 71M 1.8G 4% /tmp
    /dev/sda5 15G 6.3G 7.8G 45% /usr
    /dev/sda2 50G 6.1G 41G 13% /var


    Any suggestions are very welcome!

    Thanks!

  2. #2
    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    4,183
    It's a good partitioning scheme for Cpanel servers.
    You can also put your /var, /usr and /home under one '/' partition, but it's not a 'must'.
    www.InstantDedicated.com - Online in no time
    Dedicated Servers in [EU] Netherlands with DAILY support, also on weekends
    DDOS Protected network - 100% Money Back if it doesn't work for you
    Streaming / IPTV allowed | Up to 10 Gbit ports | 100% Network Uptime

  3. #3
    Quote Originally Posted by 24x7group View Post
    It's a good partitioning scheme for Cpanel servers.
    You can also put your /var, /usr and /home under one '/' partition, but it's not a 'must'.
    Thanks! That sounds good as well.

    Which one sounds best to you?

    The guys at cPanel just suggested (based on Advanced partitioning on their site)

    /......40GB
    /boot..250MB
    /home..-grow
    /usr...20GB
    /tmp...4GB < In case of EA
    /var...50GB
    swap...4GB < this should be > swap...32GB < as the server has 16 GB RAM

    Does that sound perfect for a high traffic cPanel server? There will be about 300 WP sites, so maybe var should be like 80 GB?

    My data center wants to do /swap0 - 1 GB /boot - 0.1 GB / - 1 GB (Grow) as its standard.

    Thanks.

  4. #4
    Join Date
    Feb 2006
    Location
    Greece
    Posts
    194
    Redhat suggests

    A swap partition
    A /boot partition
    A / partition
    A home partition

    Explaining it here:
    https://access.redhat.com/site/docum...mmend-x86.html

    They got 2 nice warnings why you shouldn't have /usr and /var on different partitions.

    /tmp can be a file or ram (tmpfs) so you can grow it / shrink it.

    In /var mysql hosts DBs, if you decide to make it a different partition, make it big. For 300 WPs it might need more space for DBs. I got a server with almost 150 accounts and it's already at 50GB. (But that depends of course).


    From the other hand having multiple partitions helps with IO problems (you could possibly find out quicker where the problem is located with commands like iostat. You can understand if for example some heavy write or read in /var it's mysql or /home, a user or /usr apache, etc).

Similar Threads

  1. OVH's partitioning scheme: braindead?
    By XTF0 in forum Dedicated Server
    Replies: 12
    Last Post: 06-30-2013, 04:18 PM
  2. Replies: 0
    Last Post: 05-31-2013, 01:52 AM
  3. Best Hard Drive Partitioning scheme for server
    By bawalker in forum Hosting Security and Technology
    Replies: 1
    Last Post: 11-26-2004, 03:35 AM
  4. Need help with a partitioning scheme - uni assignment
    By EnnZed in forum Hosting Security and Technology
    Replies: 0
    Last Post: 08-23-2004, 08:21 AM
  5. What do you think about this partitioning scheme?
    By kwes43 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-26-2003, 06:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •