16 Nov
2007
16 Nov
'07
1:38 a.m.
On 15.11.2007, at 22.06, Ulrich Spoerlein wrote:
On Thu, 15.11.2007 at 04:32:16 +0200, Timo Sirainen wrote:
Anyone who has NFS, could you test: http://dovecot.org/tmp/locktest.c
- Compile: gcc locktest.c -o locktest -Wall -g
- Start in server 1: ./locktest temp1
- Start in server 2: ./locktest temp2
- Server 1 might log "unlink() failed" error after starting the
second locktest, ignore that.I'm not quite sure how this is all meant. What's the point in running this on two different NFS servers? Do you mean to run it on two
clients, inside the same NFS dir using the same 'temp' ressource?I ran it on a 6.2 FreeBSD Server and a 7.0 FreeBSD client. When using 'temp1' and 'temp2' as per your example, nothing really breaks.
Forget about this. It's a "bug" in FreeBSD: http://lists.freebsd.org/ pipermail/freebsd-current/2007-November/079976.html http:// lists.freebsd.org/pipermail/freebsd-current/2007-November/079996.html
I added a workaround to Dovecot though.