NFS and file locking

Philip M. Golllucci pgollucci at p6m7g8.com
Sat Mar 19 08:42:34 PST 2005


Hi all,

I've got a FreeBSD 6.x -current file server running NFS and I mount
lots of things via NFS on other Freebsd 6.x -current servers with an NFS 
client.  I get _lots_ of file locking issues.  See below for just one 
example.  I'm wondering, will NFSv4 fix this or switching to samba ?
If not, I'd be gratefull for suggestions.

Thanks in advance!

vegeta# df
krillin:/usr/ports       15390126 3159612 10999304    22%    /usr/ports
krillin:/usr/local/apps  15390126 3159612 10999304    22%    /usr/local/apps
krillin:/usr/src         15390126 3159612 10999304    22%    /usr/src
krillin:/usr/obj         15390126 3159612 10999304    22%    /usr/obj
krillin:/usr/home        15390126 3159612 10999304    22%    /usr/home

vegeta# cd /usr/ports/www/apache21/
vegeta# make
[......]
buildconf: Using libtool15.m4 at /usr/local/share/aclocal/libtool15.m4.
Creating include/arch/unix/apr_private.h.in ...
autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps 
you are running make -j on a lame NFS client?): Operation not supported
autoheader259: /usr/local/bin/autom4te259 failed with exit status: 1
Creating configure ...
autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps 
you are running make -j on a lame NFS client?): Operation not supported
Generating 'make' outputs ...
rebuilding rpm spec file
rebuilding srclib/apr-util/configure

Looking for apr source in ../apr
Creating include/private/apu_config.h ...
autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps 
you are running make -j on a lame NFS client?): Operation not supported
autoheader259: /usr/local/bin/autom4te259 failed with exit status: 1
./buildconf failed for apr-util

-- 
END
------------------------------------------------------------------------------ 

Philip M. Gollucci
Consultant
E-Mail: pgollucci at p6m7g8.com
URL   : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.254.5198

$Id: .signature,v 1.7 2004/09/05 23:46:37 philip Exp $



More information about the freebsd-questions mailing list