I was fighting hard against NFS, sendmail, qpopper and pine last days.
I won after lot of hours reading
linux/Documentation/{locks.txt,mandatory.txt"
and linux/fs/{lock*,nfs*}.
Apart of going to knfsd, I found the next fstab nfs options work
reasonable well
rsize=4096,wsize=4096,intr,hard,noac,acregmax=10
Note that noac should -I think- override acregmax, but it doesn't. If you
reboot the servers the server often add "bg" or trust in "soft" instead of
"hard".
In addition, if you are using userland nfsd, and the newsreader does use
fcntl, add "nolock" (and upgrade to 2.2.5).
If you program uses flock, pray you can compile it again to use fcntl.
I wonder if glibc2 implements flock using fcntl and why the root directory
can not be exported with kexportfs/kmountd
Best regards,
-- Ricardo Galli
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/