Re: total space = (used quota) + (to be expunged)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Sent from my iPhone

On 08/02/2012, at 0:51, Adam Tauno Williams <awilliam@xxxxxxxxxxxxx>  
wrote:

> Quoting Andre Felipe Machado <andremachado@xxxxxxxxxxxxxxxx>:
>
>> Hello
>> After reading some archived list msg [1], and database formats doc  
>> (quotas
>> topic)[2], I realized that there is not a "high level" cyrus command
>> to display
>> total disk/partition space actually used at a Cyrus imap backend.
>> In order to get exact (approximated when single instance store is
>> enabled) to be
>> expunged messages space should a du / df be used ?
>> df_used_blocks - used_quota = space_to_be_expunged
>
> <https://bugzilla.cyrusimap.org/show_bug.cgi?id=3562> is possibly  
> related

Indeed, and we certainly could do that, although it involves a  
cyrus.index header format change, which is unnecessarily painful with  
the current data format. The question is how much value would you get  
from it, given that the user's contribution to the cyrus.cache,  
cyrus.header, mboxlist, annotations (and on the fastmail branch,  
conversations) dbs are not accounted for.

Greg.
>
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux