<br><div class="gmail_quote">On Tue, Apr 10, 2012 at 3:42 AM, Jure Koren <span dir="ltr">&lt;<a href="mailto:jure.koren%2Bgluster@uninet.si">jure.koren+gluster@uninet.si</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 09/04/12 16:22, James Devine wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What mail storage type were you using?  I&#39;ve been testing mdbox on gluster and when I put a lot of load on it using more than one thread I see lots of corruption problems, both in the index files which store flag information and in the data storage also.  This doesn&#39;t happen on a local filesystem but I can duplicate it with one dovecot server talking to one gluster server.<br>

</blockquote></div>
I am using maildir, as it is easier, beacuse each server writes new files into unique filenames so there aren&#39;t many locking issues. I have also enabled all the options for nfs storage in dovecots settings.<br>
<br>
The mail files are always ok, but I sometimes get corruptions in dovecot&#39;s temporary index files. When it happens I just delete those files as dovecot will recreate them.<br>
<br>
But I started to have some issues lately (with 2.3.4-2.3.6) on directories and I don&#39;t know the cause. I am currently testing a ospf solution so the connection between the nodes would be more stable. I have added a virtual ethernet adapter with a private ip address and network to both nodes in my afr setup and ospf makes sure that those are always accessible.<br>

<br>
<br>
</blockquote></div><br><div>Yeah, maildir shouldn&#39;t have storage issues, my only concern there would be small file access.  I&#39;m setting up a test environment and I plan on comparing mail storage performance between the two storage types as well as a number of other factors.  Importing gluster via nfs doesn&#39;t seem to have locking/caching issues accessing any of the files, at least not with 2 clients running postal.
</div>