[Dovecot] [dovecot-2.1.15] mdbox corruption, doveadm force-resync can't repair it (throws segfault)

Timo Sirainen tss at iki.fi
Fri Mar 22 10:31:57 EET 2013


On Thu, 2013-03-21 at 10:41 +0100, Marcin Mirosław wrote:
> W dniu 20.03.2013 18:20, Timo Sirainen pisze:
> > On 7.3.2013, at 14.12, Marcin Mirosław <marcin at mejor.pl> wrote:
> > 
> >> Here is backtrace from doveadm force-resync:
> >>
> >> #0  rebuild_mailbox_multi (trans=0x428b58d090, view=<optimized out>,
> >> rebuild_ctx=0x428b5a0690, ctx=0x428b57a9a0, mbox=<optimized out>) at
> >> mdbox-storage-rebuild.c:433
> >> 433                             map_uid = rec->map_uid;
> > 
> > Yeah, I fixed this immediately after 2.1.15: http://hg.dovecot.org/dovecot-2.1/rev/2def25f07ca6
> > 
> > I guess it's soon time for 2.1.16.
> 
> Hi! I've aplied patch and force-resync finished work without problem.Thanks!
> I asked one more question: `doveadm force-resync -A "*"` doesn't do
> resync inside namespace. Is it feature or bug?

What exactly do you mean? I think it should only resync the mailboxes in
the prefix="" namespace, or at least that's the intended behavior with
other commands where "*" is used. Is -A relevant here (= does it happen
the same with -u username)?




More information about the dovecot mailing list