The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CloudLinux Concise Partitioning Guide

Discussion in 'CloudLinux' started by netized, Dec 2, 2012.

  1. netized

    netized Registered

    Joined:
    Dec 2, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Administrators,

    I'm setting up my first CloudLinux/cPanel server and would like to know if anyone is able to point me to a concise partitioning guide for CloudLinux on baremetal that is specifically optimized for cPanel/WHM.

    I find that the official installation guide is trying to hit too many nails with a single swing of the hammer.

    Here are a couple of questions that I have:

    1. What is the most truly logical choice for the partitioning layout (the guide suggests /boot, swap, and / only, but another advanced section suggests /home, /usr, /var, /tmp, etc but states that only / and swap are required).
    2. If possible, stating in minimums and percentages makes real good sense to me, just like the advanced portion of the guide mentioned above.
    3. Once CloudLinux is installed, what configuration choices/changes to cPanel/WHM will impact the partitioning at what rate?

    Cheers,
    Lance
     
  2. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
  3. netized

    netized Registered

    Joined:
    Dec 2, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks. That is the "advanced section" that I was referring to.

    That section starts with:
    Code:
    For flexibility in any *nix environment, we recommend a simple partition scheme.
    Note: All of the following partitions are optional except / and swap.
    But the standard installation guide step 5 has the following recommendation for CloudLinux:
    Code:
    /boot - 99MB
    swap - 2x Memory
    / - fill disk
    Additionally, under the other *nix operating systems referred to in step 5 of the standard guide, there is a recommendation "as well as" a link to the advanced config options, but that link is not provided in the context of the CloudLinux portion.

    You see the confusion? I'm looking for support on a concise partitioning guide for CloudLinux. The recommended partitioning is extremely contrary to the advanced guide, so I'm asking for clarity. Because I am not able to clearly determine if the standard recommendation supersedes the recommended advanced-config settings or not. FYI, I've also seen elsewhere that the CloudLinux should have a 250MB /boot partition, just to add a good measure more of confusion.

    Cheers,
    Lance
     
  4. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    One of the bigger advantages to using the partitions mentioned in the Advanced section is you will have more inodes. I normally install centos 6 using the advanced partitions recommended, sometimes higher for /usr and /var, and later install CloudLinux if needed.
     
  5. netized

    netized Registered

    Joined:
    Dec 2, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank-you CKH, so that leaves us back to the original question: is there a concise guide to the optimal partitions for CloudLinux when hosting cPanel/WHM.

    Anyone know?
     
  6. ckh

    ckh Well-Known Member

    Joined:
    Dec 6, 2003
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Phoenix, AZ
    cPanel Access Level:
    DataCenter Provider
    Just use the guide for RedHat or Centos, or the partitions that are recommended for the advanced options, it really doesn't matter if it's cloudlinux or centos.

    There's not going to be one optimal configuration for all instances. You may have a lot of mysql databases and/or large databases, so you will need to partition accordingly.
     
Loading...

Share This Page