Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: lmilani on September 08, 2020, 02:41:22 PM

Title: Disk Quota bad values
Post by: lmilani on September 08, 2020, 02:41:22 PM
Hy, its possible help me understand this problem...

user pulmao have 3G of space used but disk quota show 17G disk used

Quota command:
pulmao    +-  17219M  10000M  10000M  7days   14882     0     0


[root@ home]# du -sh /home/pulmao
3.0G    /home/pulmao

Tks
Title: Re: Disk Quota bad values
Post by: Igor S. on September 11, 2020, 10:22:35 AM
You have to resync disk quotas but you can break it. I would recommend asking a sysadmin to check the quotas.
If you do not care about data and quotas for "/"  you can try the commands below
Code: [Select]
cp -a /aquota.user /aquota.user_orig
/sbin/quotaoff / && /sbin/quotacheck -mvu / && /sbin/quotaon /