> Hello, all.
>
> I have a program that uses record locking - fcntl(filedes, F_SETLK, ...) -
> in a file from a NFS server. That worked well in SuSE Linux 6.1 (Kernel
> 2.2.5)
>
> Recently I have installed SuSE Linux 6.2 (Kernel 2.2.10) in both boxes (NFS
> server and NFS
> client), and I think I have configured them correctly, but my program
> doesnīt manage to lock records in the serverīs file, as did in 6.1.
>
Another victim of the knfsd morass.. For reliable operation, you really
should:
- Download, build and install HJ Lu's latest utilities package:
ftp://ftp.varesearch.com/pub/support/hjl/knfsd/knfsd-1.4.7.tar.gz
- Apply the following patches included with that package to the kernel:
linux-2.2.7-sunrpc.patch
nfsd-2.2.7-3.patch
nfsd-2.2.7-nfsfh.patch
nfsd-2.2.7-2.lockd.patch
Life should then improve considerably. I've given up trying to understand
why these are not in the base kernel, so don't ask...
Steve
-
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/