Begin using a metapartition on existing system?

Scott Lambert lambert at
Sat Oct 16 00:41:47 EDT 2010

On Fri, Oct 15, 2010 at 08:52:25PM -0700, Bron Gondwana wrote:
> On Fri, Oct 15, 2010 at 05:02:36PM -0500, Scott Lambert wrote:
> [SNIP]
> > I want to configure a metapartition-default on a new
> > RAID1 and move the metadata to it.  I haven't been able to find
> > documentation that says if it is safe to add the metapartition
> > directives to the config for an existing partition on a running
> > system.
> > 
> > What would be the proceedure for this?  Something like?:
> > 
> >   * rsync the metapartition_files to the new metapartition-default
> >   * shut down cyrus-imapd
> >   * rsync the metapartition_files to the new metapartition-default
> >   * change the imapd.conf 
> >   * remove the metapartition_files from partition-default
> >   * start cyrus-imapd
> > 
> > I would like to do it without stopping cyrus-imapd, but I suspect
> > that changing it on a running system was not planned for in the
> > feature.  I would be most happy to be wrong.
> You'll find you are definitely right.  You'll have to shut it down.
> You can make it a lot shorter by moving the 'start cyrus-imapd'
> before the 'remove the metapartition_files from partition-default'
> step.  Cyrus won't mind about the spare files being there.

Okay, I was worried that it might confuse things, particularly me,
having the files in both locations.
> But doing it on the fly - ouch.  Definitely not designed for.
> It probably wouldn't be a massively hard problem to solve, but
> it's such a rare case that nobody much cares enough to make it
> work.

That makes sense.

Thanks for all the work you've put into Cyrus, Bron, and Ken and

Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert at

More information about the Info-cyrus mailing list