From owner-freebsd-questions Wed Mar 22 8:52:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merganser.its.uu.se (merganser.its.uu.se [130.238.6.236]) by hub.freebsd.org (Postfix) with ESMTP id 0E7A837BE0A for ; Wed, 22 Mar 2000 08:52:12 -0800 (PST) (envelope-from ertr1013@student.csd.uu.se) Received: from regulus.student.UU.SE ([130.238.5.2]:35180 "HELO ertr1013.student.csd.uu.se") by merganser.its.uu.se with SMTP id ; Wed, 22 Mar 2000 17:51:57 +0100 Received: (qmail 1043 invoked by uid 1001); 22 Mar 2000 16:51:18 -0000 Date: Wed, 22 Mar 2000 17:51:18 +0100 From: Erik Trulsson To: Grigory Kljuchnikov Cc: freebsd-questions@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: errno (46) - for FreeBSD 4.0 NFS server Message-ID: <20000322175118.A901@student.csd.uu.se> References: <20000322110244.B1961@student.csd.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from grn@ispras.ru on Wed, Mar 22, 2000 at 03:46:12PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 22, 2000 at 03:46:12PM +0300, Grigory Kljuchnikov wrote: > Thank you, Erik! > > I find rpc.lockd and start it manually. My test with NFS locking works right. > But it don't start on boot by default if I enable NFS server in > /stand/sysinstall and there is the comment in /etc/default/rc.conf > for rpc_lockd_enable: > > rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server. > > Does the comment "(*broken!*)" mean that rpc.lockd doesn't work properly? > To be honest I don't know. I haven't used it myself but only read the manpages. (Since I only use NFS between FreeBSD boxes and they don't support client-side locking it seems pointless to have it on the server.) That comment does seem to imply that something is broken but then the manpage really should say something about that. (This might of course indicate that the manpage isn't in sync with reality.) Somebody who knows what is up with rpc.lockd is welcome to comment. > > On Wed, 22 Mar 2000, Erik Trulsson wrote: > > > On Wed, Mar 22, 2000 at 12:04:55PM +0300, Grigory Kljuchnikov wrote: > > > Thierry, thank you for the information, > > > but it's very bad that there isn't NFS locking in FreeBSD. > > > I'm afraid I need to move my FreeBSD NFS server to Solaris > > > for x86. > > > > > > I don't understand why NFS locking isn't in FreeBSD. > > > Is it difficult in the implementation or are there another > > > global problems in the kernel (or in the native filesystem)? > > > > > > Who know when the NFS locking is planed to release in FreeBSD? > > > > > > > > > > > > Actually I think that server side locking *is* implemented but client side > > locking isn't. > > 'man 8 rpc.lockd' for more information. > > (And 'man 5 rc.conf' for information on how to start it at bootup. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message