Hello,
I recently moved my /home directory to new disk. I added new disk, copied old /home to another new disk keeping permission intact , then mounted that new disk under /home partition. Website are working fine, however disk quotas not.
I followed this help article about quota issues:
Also this :
As per it, I enabled quota on that partition in fstab as as using following commands :
and added to DA queue:
Here is output of my /home from mount :
I have verified that its only counting DB usage as thy are on "/" partition but not from /home (which is new disk).
Also repquota also seems to be working fine and couting.
Went through many posts and help articles but still in dark.
I recently moved my /home directory to new disk. I added new disk, copied old /home to another new disk keeping permission intact , then mounted that new disk under /home partition. Website are working fine, however disk quotas not.
I followed this help article about quota issues:
Also this :
As per it, I enabled quota on that partition in fstab as as using following commands :
Code:
/sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
Code:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
Here is output of my /home from mount :
Code:
# cat /proc/mounts | grep ' /home '
/dev/sda1 /home ext4 rw,relatime,quota,usrquota,grpquota,data=ordered 0 0
I have verified that its only counting DB usage as thy are on "/" partition but not from /home (which is new disk).
Also repquota also seems to be working fine and couting.
Code:
repquota -s /home
Went through many posts and help articles but still in dark.