Hello fellow VirtualMin users,
I just installed VirtualMin 1,534 on Debian 6,0,1 x64 and I also have a "used disk space display issue". Indeed, when I click on "Edit Virtual Server", under "Quotas and limits", I get the following:
Home disk space used (including sub-servers) -8 kB (7.61 GB by server administrator, 0 bytes by mail / FTP users)
It seems that I have the same error as this user: http://www.virtualmin.com/node/16805
"Looks like it doesn't make the sum between the mail /FTP users quote and the server administrator's one and juste remove the quote of the database."
I printed some debug information from the function "show_domain_quota_usage" of file "./virtual-server/virtual-server-lib-funcs.pl". So here are they (this virtual server has both "Total server quota" and "Server administrator's quota" set to unlimited and just has files in its home directory):
After line "$totalhomequota -= $dbquota_home/$bsize;", the concerned variable becomes:
So it seems the disk space usages returned by both 'get_domain_user_quotas' & 'get_domain_quota' are wrong.