[Dovecot] NFS lock tester

Timo Sirainen tss at iki.fi
Thu Nov 15 04:32:16 EET 2007


Anyone who has NFS, could you test: http://dovecot.org/tmp/locktest.c

1. Compile: gcc locktest.c -o locktest -Wall -g
2. Start in server 1: ./locktest temp1
3. Start in server 2: ./locktest temp2
4. Server 1 might log "unlink() failed" error after starting the second
locktest, ignore that.

It starts writing something like:

1 successes
12 successes
link() succeeded, but link count=1
12 successes

What I'd like to know is what OS you use on your NFS clients, what NFS
server you use and what errors does it give (errors being those "link()
succeeded/failed, but .." messages).

I'm getting that "link() succeeded, but link count=1" error with FreeBSD
6.2. So I'd like to know if this is a FreeBSD bug, NFS server bug or a
more common NFS problem that I should work around..

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071115/7c554dc8/attachment.bin 


More information about the dovecot mailing list