[Dovecot] Maildir + NFS + multiple machines = spectacular failure

Apps Lists appslists at neonova.net
Tue May 2 19:12:06 EEST 2006


> On Tue, 2006-05-02 at 11:06 -0400, Apps Lists wrote:
>> Hate to top-post... but... ah well.
>>
>> I'm trying the latest CVS snapshot with GFS and am only seeing a
>> couple of (hopefully) harmless errors...
>>
>> fcntl() failed with file
>> /var/mailstore/72/af/375887/Maildir/dovecot.index: No such file or
>> directory
>>
>> fcntl() failed with file
>> /var/mailstore/72/af/375887/Maildir/dovecot.index.cache: No such file
>> or directory
>
> Does it do this all the time or only sometimes? From those error
> messages it looks like fcntl() locks don't work with GFS, or maybe GFS
> sometimes breaks with them. I wouldn't say they're harmless until I knew
> why exactly it's giving those errors.

With concurrent operations on the same GFS filesystem across multiple
machines, it happens all day long.

I've yet to see any evidence of corruption, so I'm not particularly
concerned.

I'm not sure what changed between beta7 release and the last snapshot, but
it's SO much happier... at least on GFS.

Steve (logs from one machine below)

May  2 11:52:25 dev4 dovecot: IMAP(jtest): fcntl() failed with file
/var/mailstore/72/af/375887/Maildir/dovecot.index: No such file or
directory
May  2 11:53:50 dev4 last message repeated 4 times
May  2 11:55:42 dev4 last message repeated 2 times
May  2 11:56:48 dev4 dovecot: IMAP(jtest): fcntl() failed with file
/var/mailstore/72/af/375887/Maildir/dovecot.index: No such file or
directory
May  2 11:58:46 dev4 last message repeated 3 times
May  2 11:59:10 dev4 dovecot: IMAP(jtest): stat() failed with file
/var/mailstore/72/af/375887/Maildir/dovecot.index.log: No such file or
directory
May  2 11:59:10 dev4 dovecot: IMAP(jtest): fcntl() failed with file
/var/mailstore/72/af/375887/Maildir/dovecot.index.log: No such file or
directory
May  2 11:59:10 dev4 dovecot: IMAP(jtest): mail_index_wait_lock_fd()
failed with file /var/mailstore/72/af/375887/Maildir/dovecot.index.log: No
such file or directory
May  2 11:59:54 dev4 dovecot: IMAP(jtest): fcntl() failed with file
/var/mailstore/72/af/375887/Maildir/dovecot.index: No such file or
directory
May  2 12:00:56 dev4 dovecot: IMAP(jtest): fcntl() failed with file
/var/mailstore/72/af/375887/Maildir/dovecot.index: No such file or
directory
May  2 12:02:29 dev4 last message repeated 2 times
May  2 12:05:40 dev4 last message repeated 2 times
May  2 12:07:05 dev4 dovecot: IMAP(jtest): fcntl() failed with file
/var/mailstore/72/af/375887/Maildir/dovecot.index: No such file or
directory






More information about the dovecot mailing list