[Dovecot] dovecot and AFS
Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully got it to work in a small or large scale environment I would be happy to know about it.
/Per-Erik Persson
On February 2, 2010 9:06:45 PM +0100 Per-Erik Persson pere-erik.persson@it.su.se wrote:
Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully got it to work in a small or large scale environment I would be happy to know about it.
Any specific reason to put the maildir on AFS? Just curious.
Frank Cusack skrev 2010-02-02 21:37:
On February 2, 2010 9:06:45 PM +0100 Per-Erik Persson pere-erik.persson@it.su.se wrote:
Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully got it to work in a small or large scale environment I would be happy to know about it.
Any specific reason to put the maildir on AFS? Just curious.
AFS is the storage backend used today with maildir and a couple of 10.000 users :-) That is quite a good reason. The IMAP server part of dovecot seems to work but I want sieve. The maildrop boxes are anicent with some patches to make it work with AFS
On 2.2.2010, at 22.06, Per-Erik Persson wrote:
Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully got it to work in a small or large scale environment I would be happy to know about it.
Problems are probably similar to NFS. The only sure way to avoid issues is to make sure that only a single server accesses user's mails at the same time. LDA from a different server is safe only if it doesn't update Dovecot's index files. There was a recent thread about how to do this with subject "quick question".
On February 4, 2010 1:41:52 AM +0200 Timo Sirainen tss@iki.fi wrote:
On 2.2.2010, at 22.06, Per-Erik Persson wrote:
Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully got it to work in a small or large scale environment I would be happy to know about it.
Problems are probably similar to NFS. The only sure way to avoid issues is to make sure that only a single server accesses user's mails at the same time.
Unlike NFS, AFS has strong consistency. So that shouldn't be a problem.
-frank
On 4.2.2010, at 4.13, Frank Cusack wrote:
On February 4, 2010 1:41:52 AM +0200 Timo Sirainen tss@iki.fi wrote:
On 2.2.2010, at 22.06, Per-Erik Persson wrote:
Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully got it to work in a small or large scale environment I would be happy to know about it.
Problems are probably similar to NFS. The only sure way to avoid issues is to make sure that only a single server accesses user's mails at the same time.
Unlike NFS, AFS has strong consistency. So that shouldn't be a problem.
If it acts just like a local filesystem, then it doesn't have any problems with Dovecot. But that guarantee usually makes the performance worse, so I would have thought it had less strong guarantees. Anyway, I don't know almost anything about AFS.
On February 4, 2010 4:40:37 AM +0200 Timo Sirainen tss@iki.fi wrote:
If it acts just like a local filesystem, then it doesn't have any problems with Dovecot. But that guarantee usually makes the performance worse, so I would have thought it had less strong guarantees. Anyway, I don't know almost anything about AFS.
Yup, with multiple writers performance is much worse.
participants (3)
-
Frank Cusack
-
Per-Erik Persson
-
Timo Sirainen