[Dovecot] Newbie questions: Load-balanced Dovecot with NFS storage

Timo Sirainen tss at iki.fi
Wed Mar 7 16:56:03 EET 2007


On Wed, 2007-03-07 at 14:31 +0000, Mike Brudenell wrote:
> OK, so as we want to use file system quotas that sounds as if I need  
> this setup:
> 
> 1.  Maildirs stored in one NFS-mounted directory tree with quotas  
> enabled.
> 
> 2.  Control files stored in another NFS-mounted directory tree *WITHOUT*
>      quotas enabled, as per http://wiki.dovecot.org/Quota/FS
> 
> ??? Then NFS-mount this one area on all of the load-balanced IMAP  
> servers?
>      (I'm assuming potentially several instances of Dovecot running on
>      on different server machines will handle this OK over NFS?)

Yep.

> 3.  Index files stored in directory tree on locally attached disk.
>      (And a cron job to clean old ones out periodically.)
> 
> 
> With regard to mount options for the above:
> 
> 1.  Needs no special NFS-mount options.
> 
> 2.  Does this need any special mount options?  (eg, "actimeo=0" as for
>      index file on NFS?)

actimeo=0 would be a good idea, otherwise there could be some rare
problems when two computers are accessing the same user's mailbox at the
same time.

> 3.  If this had been on NFS-mounted filestore I'd have needed the
>      "actimeo=0" mount option and to use "mmap_disable = yes".  But for
>      locally attached disk I don't need to use either of these.

Right.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070307/d57e2bac/attachment.pgp 


More information about the dovecot mailing list