Quota file not in sync with actual Hardisk usage

Eric Luyten Eric.Luyten at vub.ac.be
Wed Jun 30 10:34:36 EDT 2010


On Wed, June 30, 2010 3:52 pm, Michael Menge wrote:

> Quoting Ramprasad <ram at netcore.co.in>:
>
>
>> On my cyrus imap (2.3.7 on RHEL-5.2) server I have seen that for a few
>> users the quota shown in cyrus is lesser than actual usage as shown by du
>> output
>>
>> Is there something I need to check
>>
>>
>
> Quota does not include the cyrus.* files in each mailbox. Also if you
> are using deleyed expunge mode there will be some recently deleted mails that
> are still on the disk but not in quota.
>
> you can run a
>
> reconstruct -r -k -s user.USERID quota -f user.USERID
>
> or if you use unixhierarchysep: 1
>
> reconstruct -r -k -s user/USERID quota -f user/USERID


Another possible reason for quota/du mismatch is a compressing filesystem
such as ZFS.
We have on average (filesystem level, of which we have nine) 30% savings
but the figure varies wildly from user to user.


Eric Luyten, Computing Centre VUB/ULB.



More information about the Info-cyrus mailing list