huge mdbox broken / Log synchronization error

Aki Tuomi aki.tuomi at open-xchange.com
Thu May 6 09:56:48 EEST 2021


> On 06/05/2021 09:54 Florian Lohoff <f at zz.de> wrote:
> 
>  
> On Wed, May 05, 2021 at 03:30:39PM +0300, Aki Tuomi wrote:
> > Hi!
> > 
> > That version is pretty old already, there has been fixes to mdbox format after that. Can you at least try to upgrade to 2.2.36?
> 
> Aborted force-resync after 16 hours - Every fsck took 2-3 hours. It
> always restarted from the beginning it seems. Numbers for the
> inconsistency changed from run to run.
> 
> [ ... ]
> doveadm(inbox at wasteland): Warning: Transaction log file /var/vmail/wasteland/inbox/mdbox/storage/dovecot.map.index.log was locked for 10337 seconds (mdbox storage rebuild)
> doveadm(inbox at wasteland): Warning: mdbox /var/vmail/wasteland/inbox/mdbox/storage: Inconsistency in map index (2736,135512 != 2736,811812)
> doveadm(inbox at wasteland): Warning: fscking index file /var/vmail/wasteland/inbox/mdbox/storage/dovecot.map.index
> doveadm(inbox at wasteland): Warning: mdbox /var/vmail/wasteland/inbox/mdbox/storage: Inconsistency in map index (2736,135512 != 2736,811828)
> doveadm(inbox at wasteland): Warning: fscking index file /var/vmail/wasteland/inbox/mdbox/storage/dovecot.map.index
> doveadm(inbox at wasteland): Warning: mdbox /var/vmail/wasteland/inbox/mdbox/storage: rebuilding indexes
> doveadm(inbox at wasteland): Warning: Transaction log file /var/vmail/wasteland/inbox/mdbox/storage/dovecot.map.index.log was locked for 9959 seconds (mdbox storage rebuild)
> doveadm(inbox at wasteland): Warning: mdbox /var/vmail/wasteland/inbox/mdbox/storage: Inconsistency in map index (2736,135512 != 2736,863376)
> doveadm(inbox at wasteland): Warning: fscking index file /var/vmail/wasteland/inbox/mdbox/storage/dovecot.map.index
> doveadm(inbox at wasteland): Warning: mdbox /var/vmail/wasteland/inbox/mdbox/storage: Inconsistency in map index (2736,135512 != 2736,970728)
> doveadm(inbox at wasteland): Warning: fscking index file /var/vmail/wasteland/inbox/mdbox/storage/dovecot.map.index
> doveadm(inbox at wasteland): Warning: mdbox /var/vmail/wasteland/inbox/mdbox/storage: rebuilding indexes
> 
> I upgraded to 2.3.4 from stretch-backports now and rerunning force-fsck now.
> 
> Flo
> -- 
> Florian Lohoff                                                     f at zz.de
>   Any sufficiently advanced technology is indistinguishable from magic.

This seems to indicate that there is some larger corruption in your mdbox files. I'm afraid it might mean that you need to rm the dovecot.map.index* files and force-resync then.

AKi


More information about the dovecot mailing list