Hello,

I'm using "find -type f" in my test environment because it's just 5 o 6GB of 
data. 
In production I know I won't be able to use it. how do to check/dump/export 
cyrus.index information? I was trying to find some
 tool o script but I couldn't find it.

Thanks & Regards.

Manel Gimeno Zaragoza
magiz...@hotmail.com


> From: br...@fastmail.fm
> To: magiz...@hotmail.com
> CC: info-cyrus@lists.andrew.cmu.edu
> Subject: RE: Problem recover replica
> Date: Thu, 16 Feb 2012 13:32:49 +0100
> 
> On Thu, Feb 16, 2012, at 01:22 PM, Manel Gimeno Zaragozá wrote:
> > 
> > Hello Bron,
> > 
> > Regarding your integrty check, could you please paste it? 
> 
> It's a big hairy piece of perl.  Latest copy attached.
> 
> > It could be a good guide to made my own, as right now I'm doing the 
> > following tree checks:
> > 
> > 1) number of mailbox and ACLS (diff md5sum of "ctl_mboxlist -d")
> 
> Fair enough.
> 
> > 2) number of emails in /var/spool/imap (find -type f /var/spool/imap)
> 
> Ouch!  You can afford that?  That's a lot of stat IO.  We use the cyrus.index
> information.
>
> > 3) du of /var/spool/imap
> 
> That's unlikely to be an exact match... particularly if you have delayed 
> expunge.
> 
> > Anyway, I guess you run your script with both (MASTER & REPLICA) stopped, 
> > because if they are not I don't know how to compare if MASTER is receving 
> > info all the time.
> 
> We try three times with a 1 second delay.  Usually get a clean read.  If not,
> then we look at it.  Occasional false positive, but not too noisy.  We don't
> stop things.
> 
> > Lastly, I've noticed that in /var/spool/imap/ there are two folders "sync." 
> > and "stage.", could you please provide some information about them, because 
> > in my checks I've had to exclude them.
> 
> stage. is used by imap APPEND (and pop, and nntp, and lmtp)
> sync. is used by replication.
> 
> In both cases, they are a temporary location where uploaded files are placed
> until upload and integrity checks have been completed, before being copied 
> into
> their final spool location.
> 
> 
> Regards,
> 
> Bron.
> -- 
>   Bron Gondwana
>   br...@fastmail.fm
> 
                                          
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Reply via email to