New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

AlmaLinux 8 by default folder website user go into root folder

Started by KurJay, July 07, 2025, 05:59:27 AM

Previous topic - Next topic

KurJay

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




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

overseer

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