lkml.org 
[lkml]   [1999]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Record locking through NFS.
On Thu, 2 Sep 1999, Enrique Bernal wrote:

> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.038 / U:2.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site