dovecot and glusterfs

Michael Schwartzkopff ms at sys4.de
Tue Jan 13 08:32:19 UTC 2015


Hi,

I did some experiments with dovecot on a glusterfs on the active nodes without 
a director. So I had concurrent access to the files.

With the help of the available documentation about NFS and fcntl locks I 
managed to find out the following:

With the plain mbox format dovecot seems to apply and to honor the fcntl 
locks.  But since this format is not used any more in real setups, it is 
useless.

With mdbox and maildir format I could reliably crash my mail storage just by 
delivering mails to the both dovecots via LMTP to the same user. In maildir 
dovecot seems not the set / respect the fnctl locks of the index file. dotlocks 
do not seems to work either with mdbox.

So I think the only solution os to use a director in a real world setup. Or is 
there any non-obvious trick that I did not check?

I think it would be really nice if dovecot could use glusterfs for realy 
scalable postbox servers.

Mit freundlichen Grüßen,

Michael Schwartzkopff

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


More information about the dovecot mailing list