Bug 38464

Summary: Dovecot index files on NFS
Product: UCS Reporter: Daniel Tröder <troeder>
Component: Mail - DovecotAssignee: Daniel Tröder <troeder>
Status: CLOSED FIXED QA Contact: Sönke Schwardt-Krummrich <schwardt>
Severity: normal    
Priority: P5 CC: schwardt, walkenhorst
Version: UCS 4.0   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
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:
Bug Depends on:    
Bug Blocks: 34839    

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>