Diskquota incorrect

SYSTEM INFORMATION
OS type and version Debian Linux 11
Webmin version 2.520
Usermin version 2.420
Virtualmin version 7.50.0 GPL
Theme version 25.20

I’m having trouble with the disk quota again.

In Logs and Reports → Disk usage → Overview I see a use of 102GiB. However in the nest tab Home Directory the total is 58GiB (When I do du -s /home/theserver I also see the 58GB.). Now the database is only a few MB and I have a few MB of emails. Where is the other data coming from to add up to 102Gib?

This is expected since the total user quota doesn’t depend on the file location, but on file ownership.

Try checking for files owned by the user in question:

sudo find / -user username 2>/dev/null

Awesome, not a bug but a feature. I misunderstood the disk quota, glad you’ve explained it. Thanks, it helped me find files that should have been removed but did not due a bug in a script!

Really glad this came to light because of the disk quota that works even better.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.