[Dovecot] Rebuilding indexes fails on inconsistent mdbox

Milan Holzäpfel listen at mjh.name
Fri Oct 26 21:30:24 EEST 2012


On Wed, 24 Oct 2012 13:28:11 +0200
Milan Holzäpfel <listen at mjh.name> wrote:

> I have a problem with an incosistent mdbox: 
> [...]
> The problem appeared out of nowhere. [...]

That's just wrong. Two minutes before the corruption occured for
the first time, the machine was booted after power-off without prior
shutdown. I didn't notice this until now, sorry for this. 

The mailbox is on XFS. As far as I remember, XFS in known for leaving
NULL bytes at the end of files after a system reset. At least, I found
72 bytes of NULL in a plain text log file on XFS after such an event.
Do you think this may be the source of the index corruption? 

Do you have any other suggestions for recovering the mailbox? 

Regards,
Milan Holzäpfel



-- 
Milan Holzäpfel <listen at mjh.name>



More information about the dovecot mailing list