SUMMARY: Solaris-Linux file locking

From: Jim Roy (
Date: Tue Apr 06 1999 - 14:32:57 CDT

original post:

> I am having touble getting file locking to work over nfs between an
> application running on a solaris 2.5.1 client and a Linux
> 2.2.[4/5] server. The app uses the fcntl() call. The server
> responds with "ENOLOCKS"...
> Does anyone have this combination working?

The solution was to get knfsd-1.2. This is the kernel space version of
the nfs programs. It turns out that the default one for (debian at least)
runs in users space and does not correctly do file locking.

Getting it to work on a 2.2.5 kernel was a little bit tricky, since it
required some kernel patches which were made against 2.2.3. Since I got only one
response, ( thanks Moshe ) I won't elaborate, but if anyone is interested in the
gory details, drop me a line.

Jim Roy                      voice  541 757 7231
Sys. Admin.                  fax    541 757 7331
NW Geophysical Assoc.
Corvallis Or. US

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:17 CDT