doveadm sis deduplicate problem

Peter Benko pbopbo at freemail.hu
Sat Aug 3 21:09:49 EEST 2019


Hi all,

I'm running dovecot 2.3.7.1, with mdbox and single instance storage. I use offline deduplication like this:

mail_attachment_fs = sis-queue /mailboxes/%d/_attachments_/queue:posix

Each week I run doveadm sis deduplicate to deduplicate the mail attachments. Everything was fine until I mistakenly run doveadm sis deduplicate twice, simultaneously.

I ended up having some error messages like this:

Error: unlink(/mailboxes/domain.com/_attachments_/queue/067518ec61f872420813727326dde0933c7449e4-11ae16131c3f445d7e0300002b0fbac2) failed: No such file or directory (in doveadm-sis.c:260)

Also, the sis store has a suspicious temporary (leftover?) file (in the according _attachments_/06/75/ dir):
-rw------- 4 vmail vmail  941197 Aug  2 15:48 temp.server-name.9633.77f5a7183d74f72b

So the question is, shall I be nervous about this temp file? Does the error mean that the deduplication did not finish correctly? Is my mail store in a consistent state now? What shall I do with the temp file?

I'd really appreciate some help...

Regards,

Peter



More information about the dovecot mailing list