Running multiple reconstructs concurrently

Jack Neely jjneely at ncsu.edu
Mon Jul 27 21:39:10 EDT 2009


On Tue, Jul 28, 2009 at 07:40:08AM +1000, Bron Gondwana wrote:
> On Mon, Jul 27, 2009 at 11:19:00AM -0400, Jack Neely wrote:
> > Folks,
> > 
> > I'm writing a script to migrate all the cyrus imap data from version
> > 2.2.10 running on 32 bit RHEL 3 to version 2.3.11 on brand new servers
> > running RHEL 5 in 64 bit mode.  The data moves fairly quickly but
> > running reconstruct over the entire server takes 3 or 4 times longer
> > than scp'ing across the data. 
> > 
> > Is it safe to run multiple reconstructs concurrently?  Provided they are
> > not working on the same mailboxes, of course.
> 
> Yes, that's fine.  There will be some lock synchronisation on the 
> mailboxes.db, but the bulk of the time it will be fine.

Great!  This takes my test runs from 5 hours to 3.

> 
> By the way, 2.3.11 is pretty old for a 2.3 series.  There have 
> been bugs fixed since.

Indeed there are several relevant things in the changelog.  Thanks.

> 
> By the way number two, I hope you're using -G to the reconstructs
> so you get GUIDs calculated (that will add process use, but is
> worth it for integrity checking purposes...)

I'm not currently using any replication so I had not planned to turn on
the GUIDs.  Are there any other advantages to them?

Jack

> 
> Bron.

-- 
Jack Neely <jjneely at ncsu.edu>
Linux Czar, OIT Campus Linux Services
Office of Information Technology, NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4  EA6B 213B 765F 3B6A 5B89


More information about the Info-cyrus mailing list