On Tue, 16 Nov 1999, Dan Lipofsky wrote:

> I am using mutt-1.0pre3us on Red Hat 6.1 Linux.  When ever I try to
> save a message to a file on a network file system I get
>         fcntl: No locks available (errno = 37)
> If the file does not exist it successfully creates it but leaves it
> length zero.  If I try to save to a file on the local file system it
> works fine.  Can anyone help me out here?

I don't know which Kernels comes with RedHat 6.1, but I presume it's
2.2.*.

If your NFS server supports locking (Linux userspace nfsd doesn't, the
knfsd does, if it is compiled with the correct options), everything
should be okay, but you shouldn't miss to start lockd and statd on
both machines.

If your NFS server doesn't support locking, you have to add the option
"nolock" to the mount options for this filesystem on the client
machine (otherwise Linux 2.2.* on the client will complain).
In addition to this you should upgrade to at least kernel 2.2.13,
because otherwise you will loose mail (there is a feature in 2.2.*
kernels which flushes the cache of a file when it is locked, but in
kernel <=2.2.12 this feature did only work if the server supports
locking.  Since 2.2.13 this also works for servers which do not
support locking).

Ciao

        Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *

Reply via email to