Date: Wed, 26 Apr 2000 13:18:51 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Chris Webb <chris@arachsys.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Local locking on NFS mounts Message-ID: <20000426131851.U9754@fw.wintelcom.net> In-Reply-To: <20000426201955.A332@miranda.arachsys.com>; from chris@arachsys.com on Wed, Apr 26, 2000 at 08:19:55PM %2B0100 References: <20000426201955.A332@miranda.arachsys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Chris Webb <chris@arachsys.com> [000426 12:57] wrote: > I'm putting together a diskless box that will be mounting its partitions > from an NFS server on the local network. I'm aware that FreeBSD (at > least as of 4.0) doesn't yet have working NFS locking. > > On a Linux box, I can mount an NFS partition with the option 'nolock' > which arranges for locking to be supported locally[1]---this is quite > sufficient for my application as only one box at a time will have the > relevant partition mounted read-write. (ISTR that this support was > around long before proper NFS locking appeared in Linux, which is why I > came across it.) Is this the default behaviour on FreeBSD, and if not, > is it possible to configure things in this way? I notice there's no > 'nolock' option for FreeBSD mount_nfs. > > [1] I.e. two processes on a single client are protected against one > another, even though processes on two different clients can hold a lock > on the same file because the locks aren't exported. > > Any thoughts gratefully received! Yes, even though the locks don't go across the network local locks are made. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000426131851.U9754>