Reply to Andrei,
NFS is as non-deterministic as it gets when it comes about concurrent
writes. There is next to no guarantee. The append problem is an
absolute classic on NFS. I tried about five different schemes, all
failed under mysterious circumstances. What I do now and suggest you
do too is to have each different process create its own file. After
all processes have ended, have a master process assemble all small
files into one. It's really the only thing I got to work.
Andrei
IIRC there is a lockd process on most NFS systems. I think it does something
for this issue but I don't know what.