discrepancies between observed disk usage and reported disk space

Kjetil Torgrim Homme kjetilho at ifi.uio.no
Thu Jun 15 04:49:55 EDT 2006


On Tue, 2006-06-13 at 16:52 -0400, Aaron Bennett wrote:
> If I add up the reported disk space for all of the users on a partition 
> and compare it to the actual observed size of the spool directory (and 
> subdirectories), there's quite a large discrepancy.
> 
> For example, adding up all of the usage on one partition comes out to 
> 23GB, yet observed usage (du -sh spool) comes to 30GB.

yes, Cyrus tallies bytes, while the filesystem has a granularity of a
block.  on average, half a disk block per file (message) is wasted
space.  for Linux, this will typically be 2 KiB per message.


-- 
Kjetil T.




More information about the Info-cyrus mailing list