Stan Hoeppner
2010-May-19 13:50 UTC
[Dovecot] mail location filesystem noatime, nodiratime?
Will Dovecot be negatively impacted if I change my XFS mount options to noatime,nodiratime? Thanks. -- Stan
Gregory Finch
2010-May-19 14:39 UTC
[Dovecot] mail location filesystem noatime, nodiratime?
My install uses XFS with noatime on all mount points and works perfectly... I haven't tried it with nodiratime yet apparently.. I thought I had that option in my fstab already, but after checking I guess not. -Greg On 2010-05-19 6:50 AM, Stan Hoeppner wrote:> Will Dovecot be negatively impacted if I change my XFS mount options to > noatime,nodiratime? > > Thanks. >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20100519/f82b9211/attachment-0002.bin>
Heiko Schlichting
2010-May-19 14:44 UTC
[Dovecot] mail location filesystem noatime, nodiratime?
> Will Dovecot be negatively impacted if I change my XFS mount options to > noatime,nodiratime?How are the mails stored on your XFS filesystem? For Maildir, there is no problem using these mount options. I'm using noatime,nodiratime,nobarrier,logbufs=8 for mounting XFS filesystems on all my dovecot servers for years without any problems. Mailstorage is Maildir (written by exim not dovecot lda but this should not matter). nobarrier is enabled because I use RAID systems with battery backed write cache. logbufs=8 does increase performace for deleting mails (e.g. for expiring the Spam folder) if XFS log is internal (the default). If you have configured a separate, external partion for XFS log, this might not be necessary. Heiko Heiko Schlichting Freie Universit?t Berlin heiko.schlichting at fu-berlin.de Zentraleinrichtung f?r Datenverarbeitung Telefon +49 30 838-54327 Fabeckstra?e 32 Telefax +49 30 838454327 14195 Berlin
Timo Sirainen
2010-May-19 14:58 UTC
[Dovecot] mail location filesystem noatime, nodiratime?
On 19.5.2010, at 16.39, Gregory Finch wrote:> My install uses XFS with noatime on all mount points and works > perfectly... I haven't tried it with nodiratime yet apparently.. Inoatime also implicitly enables nodiratime. No need to specify both. And yeah, Dovecot doesn't need automatic atime updates. It does use atimes to scan once in a while for some temp files that have been left lying around, but it explicitly changes the atime afterwards.