Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 12:24:10 -0500
From:      "Sean O'Connell" <sean@stat.Duke.EDU>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: errno (46) - for FreeBSD 4.0 NFS server
Message-ID:  <20000322122410.J9478@stat.Duke.EDU>
In-Reply-To: <Pine.GSO.4.20.0003221532580.14906-100000@gate.ispras.ru>; from grn@ispras.ru on Wed, Mar 22, 2000 at 03:46:12PM %2B0300
References:  <20000322110244.B1961@student.csd.uu.se> <Pine.GSO.4.20.0003221532580.14906-100000@gate.ispras.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Grigory Kljuchnikov stated:
> 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? 
> 
> Grigory.
> 
> 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.

Grigory-

My understanding of the current implementation of rpc.lockd is 
that it is a facade and simply tells the client requesting a
lock "sure kid, you have a lock" and then does nothing.

"David E. Cross" <crossd@cs.rpi.edu> has been working to
implement a real server-side rpc.lockd.  You may want to
contact him.  The first go 'round failed the nfs connectathon
tests, but the second version purportedly addresses these
issues with all but SGI boxen.   However, it was delayed
pending some system header changes...

<wild_speculation>
Since the merger with BSDi, FreeBSD hopefully will be getting
both client and server-side locking (of course, this will
appear first in 5.0-CURRENT at some point) along with some
nice SMP support (fingers firmly crossed).
</wild_speculation>

Hope this helps,
S

-----------------------------------------------------------------------
Sean O'Connell                                Email: sean@stat.Duke.EDU
Institute of Statistics and Decision Sciences Phone: (919) 684-5419
Duke University                               Fax:   (919) 684-8594


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000322122410.J9478>