Disk usage not counted after moving /home to new disk

anay

Verified User
Joined
Dec 7, 2005
Messages
120
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 :
Code:
/sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
and added to DA queue:
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.
 
Thanks for the link but I happened to stumble upon it few moments ago and it seems that things are now fixed.

From last 3 days I have been looking into it and it never showed up in search I made related to "disk space usage not counting" etc. or adding new hard disk to DA .

I request DA guys to add link to that help article in these, it would have saved lots of my hours.
I followed this help article about quota issues:

https://help.directadmin.com/item.php?id=42

Also this :

https://help.directadmin.com/item.php?id=39
 
Back
Top