[Dovecot] NFS lock tester
Timo Sirainen
tss at iki.fi
Fri Nov 16 03:38:09 EET 2007
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
>>
>> 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.
>
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071116/301d4cdf/attachment.bin
More information about the dovecot
mailing list