On 05/05/2021 12:42 Florian Lohoff <f@zz.de> wrote:
Hi, its the second time in 6 Month i have issues with a huge mdbox. It broken in November and i restored from backup because force-resync twice didnt fix it. (And restore from borg-backup was MUCH faster than force-resync)
This time i have heavy delivery into that mailbox (postfix concurrency 1) and i tried merging folders with doveadm move. The move froze and now i seem to have a broken mdbox:
Errors are:
May 05 10:21:09 lda(inbox@wasteland.rfc822.org): Error: Log synchronization error at seq=2736,offset=135540 for /var/vmail/wasteland.rfc822.org/inbox/mdbox/storage/dovecot.map.index: Extension record inc drops number below zero (uid=7757856, diff=-1, orig=0)
trying
root@pax:~# doveadm -D -v force-resync -u inbox@wasteland.rfc822.org \*
now. Although this will mostly likely take 8-10 hours.
Mailbox is 44GByte (Compressed mdbox) and 220K folders.
This is dovecot on Debian/Stretch
dovecot-core 1:2.2.27-3+deb9u7 dovecot-imapd 1:2.2.27-3+deb9u7 dovecot-ldap 1:2.2.27-3+deb9u7 dovecot-managesieved 1:2.2.27-3+deb9u7 dovecot-pop3d 1:2.2.27-3+deb9u7 dovecot-sieve 1:2.2.27-3+deb9u7 dovecot-solr 1:2.2.27-3+deb9u7
Flo
Florian Lohoff f@zz.de Any sufficiently advanced technology is indistinguishable from magic.
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?
Aki