From owner-freebsd-questions@FreeBSD.ORG Sat Mar 19 17:23:23 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83FF216A4CE for ; Sat, 19 Mar 2005 17:23:23 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0095543D53 for ; Sat, 19 Mar 2005 17:23:23 +0000 (GMT) (envelope-from dominique.goncalves@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so543677wra for ; Sat, 19 Mar 2005 09:23:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=n+h4hWqq+SeYV5Wusj8Cd7GXQ2Pvca5bD4p1ZZ/ItM7wyK86PV5ElDbQLi60k4xA0fARQUAIiRi9AVpYdwNmwu60O+Nm8IcWAGixe0z57QsenwAcIGNfMaQLkS9b9gDtEKlAR+EmL42SaTangCboO7T9l1FN4LbUAkXeoq/fo8M= Received: by 10.54.22.15 with SMTP id 15mr1951657wrv; Sat, 19 Mar 2005 09:23:22 -0800 (PST) Received: by 10.54.50.64 with HTTP; Sat, 19 Mar 2005 09:23:22 -0800 (PST) Message-ID: <7daacbbe05031909236b7acc85@mail.gmail.com> Date: Sat, 19 Mar 2005 18:23:22 +0100 From: Dominique Goncalves To: "Philip M. Golllucci" In-Reply-To: <423C567A.1040102@p6m7g8.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <423C567A.1040102@p6m7g8.com> cc: questions@freebsd.org Subject: Re: NFS and file locking X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dominique Goncalves List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2005 17:23:23 -0000 Hi, I had exactly same problem, to resolve this, use the -L option of mount_nfs. But I don't know how can I add this option in /etc/fstab. Hope this help. Regards. On Sat, 19 Mar 2005 11:42:34 -0500, Philip M. Golllucci wrote: > 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@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 $ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."