On Mon, 2011-10-17 at 09:19 +0200, Yann Dupont wrote:
104 instance of -rw------- 104 vmail vmail 346584 16 oct. 17:47 6e2df299fa96daec9b4735d07c494046429be4d6-ffd0d1xxxx
The files are hardlinked, so it seems ok, but I also see 9 others files in the same directory :
-rw------- 1 vmail vmail 346584 16 oct. 17:47 6e2df299fa96daec9b4735d07c494046429be4d6-0519df2a94fc9a4e1f4100008a6b99b6 -rw------- 1 vmail vmail 346584 16 oct. 17:47 6e2df299fa96daec9b4735d07c494046429be4d6-1790b92994fc9a4e1a4100008a6b99b6
as you can see, same prefix, If I compare them with diff, they are all the same files.
I guess you have "mail_attachment_fs = sis posix" (default)? Sounds like there could be a bug where SIS does comparison of files but for some reason thinks they are different.
You could try if you can merge them with:
mkdir /tmp/queue touch /tmp/queue/6e2df299fa96daec9b4735d07c494046429be4d6-foo doveadm sis deduplicate /var/attachments /tmp/queue