From owner-freebsd-questions Thu Dec 7 22:38: 0 2000 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 22:37:58 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 3C0C637B400 for ; Thu, 7 Dec 2000 22:37:58 -0800 (PST) Received: from FreeBSD.org (Studded@master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id WAA09879; Thu, 7 Dec 2000 22:37:46 -0800 (PST) (envelope-from DougB@FreeBSD.org) Sender: doug@dt051n37.san.rr.com Message-ID: <3A3081BA.888EC8BE@FreeBSD.org> Date: Thu, 07 Dec 2000 22:37:46 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Brandon Williams Cc: freebsd-questions@FreeBSD.org Subject: Re: NFS file locking in 4.2-RELEASE References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brandon Williams wrote: > > Hi, > > I apologize if this has been discussed, but I searched the archives and > could not find any mention of it, at least specifically for 4.2. Well, you might want to broaden your search. This is discussed fairly regularly. > rpc.lockd does not appear to work when the freebsd box is acting as an nfs > fileserver and a solaris 7 client attempts to lock a file (specifically > with cadence, a CAD app.) There is an experimental lockd implementation that works on a freebsd nfs server to issue locks. You can get a copy at http://www.cs.rpi.edu/~crossd/FreeBSD/lockd-0.2a.tar.gz If you're going to run it on 4.2 you can ignore the xdr info, those updates have already been committed. Just run make and then you will have a lockd binary to play with. Keep in mind that this is experimental, but it's passed my tests so far. Also, this does not implement the ability for freebsd to request locks, it's a server only item. Good luck, Doug -- So what I want to know is, where does the RED brick road go? Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message