Re: [Dovecot] GlusterFS + Dovecot

2012-06-21 Thread Stan Hoeppner
On 6/20/2012 10:50 AM, Romer Ventura wrote:

 Has anyone used GlusterFS as storage file system for dovecot or any other
 email system?

I have not, but can tell you from experience and education that
distributed filesystems don't work well with transactional workloads
such as IMAP and SMTP.  The two reasons are high latency and problems
with file locking, as Timo mentioned.

Instead of asking if anyone here has tried to use GlusterFS, why not
describe your situation and ask for advice on a solution?  That usually
works much better, and you gain valuable insight.

-- 
Stan


Re: [Dovecot] GlusterFS + Dovecot

2012-06-21 Thread Robert Schetterer
Am 20.06.2012 17:50, schrieb Romer Ventura:
 Hello,
 
  
 
 Has anyone used GlusterFS as storage file system for dovecot or any other
 email system..?
 
  
 
 It says that it can be presented as a NFS, CIFS and as GlusterFS using the
 native client, technically using the client would allow the machine to read
 and write to it, therefore, I think that Dovecot would not care about it.
 Correct?
 
  
 
 Anyone out there used this setup??
 
  
 
 Thanks.
 
 

reading the faqs i wouldnt recommend it yet, but as Timo said
try with performance tests first

-- 
Best Regards
MfG Robert Schetterer




Re: [Dovecot] GlusterFS + Dovecot

2012-06-21 Thread Костырев Александр Алексеевич
We've considered using gluster for our mail storage a month ago.
I've seen 
 index corruption even if mail was delivered by lmtp sequentially
 some split-brains with no clear reason
 with more than 2000 mails in box we had to wait for 40sec to open mailbox 
through roundcube, so
we've decided to go for dsync replication instead with
common mysql database for user storage and imap/pop3/lmtp proxy.




-Original Message-
From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On 
Behalf Of Romer Ventura
Sent: Thursday, June 21, 2012 2:51 AM
To: dovecot@dovecot.org
Subject: [Dovecot] GlusterFS + Dovecot

Hello,

 

Has anyone used GlusterFS as storage file system for dovecot or any other
email system..?

 

It says that it can be presented as a NFS, CIFS and as GlusterFS using the
native client, technically using the client would allow the machine to read
and write to it, therefore, I think that Dovecot would not care about it.
Correct?

 

Anyone out there used this setup??

 

Thanks.



[Dovecot] GlusterFS + Dovecot

2012-06-20 Thread Romer Ventura
Hello,

 

Has anyone used GlusterFS as storage file system for dovecot or any other
email system..?

 

It says that it can be presented as a NFS, CIFS and as GlusterFS using the
native client, technically using the client would allow the machine to read
and write to it, therefore, I think that Dovecot would not care about it.
Correct?

 

Anyone out there used this setup??

 

Thanks.



Re: [Dovecot] GlusterFS + Dovecot

2012-06-20 Thread Timo Sirainen
On 20.6.2012, at 18.50, Romer Ventura wrote:

 Has anyone used GlusterFS as storage file system for dovecot or any other
 email system..?

I've heard Dovecot complains about index corruption once in a while with 
glusterfs, even when not in multi-master mode. I wouldn't use it without some 
heavy stress testing first (with imaptest tool).