CloudLinux Concise Partitioning Guide

netized

Registered
Dec 2, 2012
3
0
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
 

netized

Registered
Dec 2, 2012
3
0
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
 

netized

Registered
Dec 2, 2012
3
0
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?
 

ckh

Well-Known Member
Dec 6, 2003
358
1
168
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.