Control Web Panel
WebPanel => Problems on other RedHat linux servers => Topic started by: KurJay on July 07, 2025, 05:59:27 AM
-
Hi Thanks for this great comunity
I install with OS AlmaLinux 8 by default partition, after installation finish, I figure out that AlmaLinux 8 put all the domain or user website into the root folder not at home folder
(https://dev.demoku.top/cwp-almalinux-8.png)
Only 2 User and already use 52% Disk Space
How we fixed this move all the hosting user file into home folder
Thanks for all your help
Regards
KurJay
-
I don't care for AlmaLinux's choice to give a separate LV to /home -- and it surprised me the first time I installed it. Usually on a CWP system, the big culprits are /var/vmail /home and /backup. On many of my systems, users packrat mail and so often times the mail folder is 2:1 to their home dir! So I need the full space available on the root filesystem (also to accommodate the growing backups).
Basic procedure is to to move contents of /home to a temporary location (even /home2 if you like). Edit / etc /fstab and comment out the /home line. Reboot.
lvextend -l +100%FREE /dev/mapper/almalinux-root
xfs_growfs /dev/mapper/almalinux-root
mv /home2/* /home
-
Let me try
Thanks