Problem with quota
Simon Matter
simon.matter at invoca.ch
Sat Apr 4 05:39:40 EDT 2015
> /Hi,
> we
> - stoped cyrus-imapd
> - reconstructed a mailbox (/usr/lib/cyrus-imapd/reconstruct -r -f
> user."account")
> ///- started cyrus-imapd/
> - deleted file /var/lib/imap/quota/"a"/user.////"account"//
> - set quota (sq user."account" 30000000)
> -//recalculated the quota (/usr/lib/cyrus-imapd/quota -f
> user.///"account")/
>
> The output of "cyrus quota" is differente to real space of mailbox on
> disk.
>
>
> lq///user."account"/
> STORAGE 9789922/30000000 (32.6330733333333%)
>
> du -s /var/spool/imap/"a"/user/"account"/
> 7308012////var/spool/imap/"a"/user/"account"//
>
> There are a difference//greater than 2.0 GB (9.8 GB - 7.3 GB)
>
> //Why?
Hi,
I guess that's because of single instance store. It's not a bug then but a
feature if "duplicatesuppression: 1". Duplicate messages are hardlinked on
disk, they don't consume space there, but are still calculated in quota
usage.
Regards,
Simon
More information about the Info-cyrus
mailing list