[Dovecot] dict quota problem
Papp Tamas
tompos at martos.bme.hu
Wed Apr 20 17:43:16 EEST 2011
On 04/20/2011 01:47 PM, Sven Hartge wrote:
> "du" also accounts for the metadata of the filesystem. With Maildir++
> you have many files per directory which causes the directory inode to
> increase in size. After mails are deleted, the now empty space inside
> the directory is not reclaimed (at least not in ext2/3/4, I guess, XFS
> behaves the same) and you see a difference in size, since dovecot only
> counts the raw size of the mails.
>
> You can test this for yourself: create a directory, place a 100M big
> file inside and check with "du". Then delete that file, create 10,000
> files with 10KB size inside, check with "du", delete the files and check
> again.
Thank you for your prompt answer.
Why does dovecot count only the raw size? Does this mean, dict quota is
not usable with maildirs? Is this true for sdbox also?
Thank you,
tamas
More information about the dovecot
mailing list