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:
Maildirs stored in one NFS-mounted directory tree with quotas
enabled.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.
- 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:
Needs no special NFS-mount options.
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.
- 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.