Correct partitioning for new DA instalation

pstoilov

Verified User
Joined
Apr 3, 2026
Messages
8
Hello all, new user of DA comming from cPanel. Already at the final of testing. I am confused about partitioning.
I will use Alma10 + DirectAdmin + Cloudlinux OS

In cpanel we use following schema:
dos partition type
/ 30G
/tmp 4G
/var rest of disk

and also after install:
mv /home /var
ln -s /var/home /home
This way we have all customers data in /var/home/, also logs and mysql is in /var and when /var went full, it is easy to resize and go on. We are using cpanel with alma9 and cloudlinux and has no problems with this partition style.

What can you recommend for DA install. First of all, can someone confirm that /home sym linking will work 100 %. I know about quotas and according to docs:

Code:
In some cases, you might have a symbolic link: /home -> /usr/home, in which case your quota_partition will be /usr.

So if this will work I can set it like in cpanel and only add swap partition. My other variants are
/ 30G
/tmp 4G
/swap
/var 70G - according to my current servers usage, /var/log is using around 5-8G, /var/lib/mysql is around 5-15G, /var/cagefs is up to 7G
/home the rest of disk
File system type - ext4

Do I need to use gpt partition style, I am not planing servers to be more than 2TB.
I will be happy to see other users recommendations. Using LVM is not at the table at the moment.
 
Back
Top