[Dovecot] 1.1.4 and trouble over NFS

Igor Colombi i.colombi at gmail.com
Tue Oct 7 23:19:49 EEST 2008


Timo Sirainen wrote:
> On Oct 7, 2008, at 9:57 PM, Igor Colombi wrote:
>
>> Hello, I have some trouble with the current setup (it's a testing 
>> environment):
>>
>> 2 server with Dovecot 1.1.4 from source (OS Debian testing 2.6.26) 
>> (name: "exim" and "exim2")
>> 1 NFS server (OS Debian testing 2.6.26)
>>
>> I use NFS v.4, indexes shared over NFS. The relavant part of Dovecot 
>> configuration:
>
> Or probably also running imaptest (http://imapwiki.org/ImapTest) on 
> both machines? Could you run http://www.dovecot.org/tools/nfstest.c 
> and tell me what it outputs?
>
Hello, this is the output of nftest on exim2 (client) vs exim (the other 
client)


./nfstest 192.168.0.70 50 /mnt/nfs1/pippo/pluto
Connected: Acting as test client
ESTALE errors don't happen
O_EXCL appears to be working, but this could be just faked by NFS client
timestamps resolution: seconds

Testing file attribute cache..
Attr cache flush open+close: failed
Attr cache flush close+open: OK
Attr cache flush fchown(-1, -1): failed
Attr cache flush fchown(uid, -1): OK
Attr cache flush fchmod(mode): OK
Attr cache flush chown(-1, -1): failed
Attr cache flush chown(uid, -1): OK
Attr cache flush chmod(mode): OK
Attr cache flush rmdir(): failed
Attr cache flush rmdir(parent dir): failed
Attr cache flush dup+close: failed
Attr cache flush fcntl(shared): OK
Attr cache flush fcntl(exclusive): OK
Attr cache flush flock(shared): OK
Attr cache flush flock(exclusive): OK
Attr cache flush fsync(): failed
Attr cache flush fcntl(O_SYNC): failed
Attr cache flush O_DIRECT: failed

Testing data cache..
Data cache flush no caching: failed
Data cache flush open+close: failed
Data cache flush close+open: failed
Data cache flush fchown(-1, -1): failed
Data cache flush fchown(uid, -1): failed
Data cache flush fchmod(mode): failed
Data cache flush chown(-1, -1): failed
Data cache flush chown(uid, -1): failed
Data cache flush chmod(mode): failed
Data cache flush rmdir(): failed
Data cache flush rmdir(parent dir): failed
Data cache flush dup+close: failed
Data cache flush fcntl(shared): OK
Data cache flush fcntl(exclusive): OK
Data cache flush flock(shared): OK
Data cache flush flock(exclusive): OK
Data cache flush fsync(): failed
Data cache flush fcntl(O_SYNC): failed
Data cache flush O_DIRECT: OK

Testing write flushing..
Write flush no caching: failed
Write flush open+close: OK
Write flush close+open: OK
Write flush fchown(-1, -1): failed
Write flush fchown(uid, -1): OK
Write flush fchmod(mode): OK
Write flush chown(-1, -1): failed
Write flush chown(uid, -1): OK
Write flush chmod(mode): OK
Write flush rmdir(): failed
Write flush rmdir(parent dir): failed
Write flush dup+close: OK
Write flush fcntl(shared): OK
Write flush fcntl(exclusive): OK
Write flush flock(shared): OK
Write flush flock(exclusive): OK
Write flush fsync(): OK
Write flush fcntl(O_SYNC): failed
Write flush O_DIRECT: OK

Testing partial writing..
OK

Testing file handle cache..
File handle cache flush no caching: failed
File handle cache flush open+close: failed
File handle cache flush close+open: failed
File handle cache flush fchown(-1, -1): failed
File handle cache flush fchown(uid, -1): failed
File handle cache flush fchmod(mode): failed
File handle cache flush chown(-1, -1): failed
File handle cache flush chown(uid, -1): failed
File handle cache flush chmod(mode): failed
File handle cache flush rmdir(): failed
File handle cache flush rmdir(parent dir): OK
File handle cache flush dup+close: failed
File handle cache flush fcntl(shared): failed
fcntl(setlk, write) failed: Bad file descriptor
File handle cache flush fcntl(exclusive): failed
File handle cache flush flock(shared): failed
File handle cache flush flock(exclusive): failed
File handle cache flush fsync(): failed
File handle cache flush fcntl(O_SYNC): failed
fcntl(/mnt/nfs1/pippo, O_DIRECT) failed: Invalid argument
File handle cache flush O_DIRECT: failed

Testing negative file handle cache..
Negative file handle cache flush no caching: failed
Negative file handle cache flush open+close: failed
Negative file handle cache flush close+open: failed
Negative file handle cache flush fchown(-1, -1): failed
Negative file handle cache flush fchown(uid, -1): failed
Negative file handle cache flush fchmod(mode): failed
Negative file handle cache flush chown(-1, -1): failed
Negative file handle cache flush chown(uid, -1): failed
Negative file handle cache flush chmod(mode): failed
rmdir(/mnt/nfs1/pippo/pluto) failed: No such file or directory
rmdir(/mnt/nfs1/pippo/pluto) failed: No such file or directory
Negative file handle cache flush rmdir(): failed
Negative file handle cache flush rmdir(parent dir): OK
Negative file handle cache flush dup+close: failed
Negative file handle cache flush fcntl(shared): failed
fcntl(setlk, write) failed: Bad file descriptor
Negative file handle cache flush fcntl(exclusive): failed
Negative file handle cache flush flock(shared): failed
Negative file handle cache flush flock(exclusive): failed
Negative file handle cache flush fsync(): failed
Negative file handle cache flush fcntl(O_SYNC): failed
fcntl(/mnt/nfs1/pippo, O_DIRECT) failed: Invalid argument
Negative file handle cache flush O_DIRECT: failed



More information about the dovecot mailing list