Author Topic: AlmaLinux 8 by default folder website user go into root folder  (Read 49 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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

Offline
*****
Re: AlmaLinux 8 by default folder website user go into root folder
« Reply #1 on: July 07, 2025, 01:02:19 PM »
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.
Code: [Select]
lvextend -l +100%FREE /dev/mapper/almalinux-root
xfs_growfs  /dev/mapper/almalinux-root
mv /home2/* /home

Offline
*
Re: AlmaLinux 8 by default folder website user go into root folder
« Reply #2 on: July 07, 2025, 11:14:16 PM »
Let me try
Thanks