Search Engine: Elastic

Article ID: 5866, created on Dec 15, 2008, last review on May 9, 2014

  • Applies to:
  • H-Sphere


In users control panel Web Quota is showing much more than the physical size of his home directory.


First of all make sure you did not confuse Disk Quota and Summary Disk Usage:

Disk Quota: all files with the owner's ID including those outside user's home directory are counted toward used disk space. That's why quota usage may be different from the size of the user home directory.

Here are the instructions on how to find all files owned by user 'unixtest' (valid for Linux and FreeBSD):
find / -user unixtest -ls > files_for_unixtest.txt

This can take a while.
When finished you may count approximate size of all files in collected file:
cat files_for_unixtest.txt | awk '{s = s + $7} END {print s/1048576 " MB"}'

And review this file to find some that are not in /hsphere/local/home directory. Pay attention to a files located in any /backup folders or /var/spool/mail .

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF