Bug 38464 - Dovecot index files on NFS
Dovecot index files on NFS
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail - Dovecot
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on:
Blocks: 34839
  Show dependency treegraph
 
Reported: 2015-05-06 16:31 CEST by Daniel Tröder
Modified: 2015-07-09 18:13 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2015-05-06 16:31:50 CEST
Basically mmap_disable=yes.
As UCS uses lockd, lock_method=dotlock is not needed.

See http://wiki2.dovecot.org/NFS
Comment 1 Daniel Tröder univentionstaff 2015-05-13 16:58:48 CEST
Commit: 60725

Auto-detection of the storage for mail and index files is not done. There should be some advise in the maual/SDB on how to use those variables, when users wants to store their mails/indexes on NFS/clusterfs, including the link to the relevant Dovecot page.

Introduces UCRVs:
* mail/dovecot/process/mmap_disable
* mail/dovecot/process/dotlock_use_excl
* mail/dovecot/process/mail_fsync
* mail/dovecot/process/mail_nfs_storage
* mail/dovecot/process/mail_nfs_index
* mail/dovecot/process/lock_method

When mail_nfs_index is set to "yes", mmap_disable=yes and mail_fsync=always are forcibly set, the UCRVs are not changed though.
Comment 2 Daniel Tröder univentionstaff 2015-06-29 14:07:33 CEST
Commit 61547 adds the option (UCRV mail/dovecot/location/separate_index) to store index files separated from mail files on the local disk. Yields better performance if mail storage is on NFS. Default is "no".
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2015-07-08 00:52:11 CEST
The settings are configurable via UCR. The default settings are ok.
→ VERIFIED
Comment 4 Janek Walkenhorst univentionstaff 2015-07-09 18:13:02 CEST
<http://errata.univention.de/ucs/4.0/237.html>