Disk usage not showing correctly on second partition

ghasemy50

New member
Joined
Jan 1, 2022
Messages
2
Hello,
I added an NVMe drive to my virtual server with directadmin as device /dev/vdc
Then i executed this commands:

mv /home/mich /home/mich2
mkdir /home/mich
mount /dev/vdc /home/mich
mv /home/mich2/* /home/mich/
chown -R mich:mich /home/mich

also, I added this to fstab:
/dev/vdc /home/mich xfs defaults,uquota,pquota,gquota 1 2

then I transferred his data to his public_html folder and fixed his permissions.

now everything is ok, but disk usage is not working. It shows me It some KB but it's really 66GB.

[root@da ~]# quota -v mich
Disk quotas for user mich (uid 1011):
Filesystem blocks quota limit grace files quota limit grace
/dev/vda1 0 0 0 2 0 0
/dev/vdb 0 104857600 115343360 0 0 0
/dev/vdc 66180996 0 0 197 0 0

[root@da ~]# ./directadmin c | grep 'realtime'
realtime_quota=2

[root@da ~]# ./directadmin c | grep 'xfs'
use_xfs_quota=1
xfs_on_domains=1
xfs_quota=/usr/sbin/xfs_quota

[root@da ~]# repquota '/home/mich'
*** Report for user quotas on device /dev/vdc
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 0 0 0 2 0 0
mich -- 66180996 0 0 197 0 0

Thanks for your help.
 
Back
Top