filePro on SuSe 9.0 Linux NFS mounts - problem with NO LOCKS AVAILABLE

Bill Campbell bill at celestial.com
Wed Oct 6 17:40:32 PDT 2004


On Wed, Oct 06, 2004, Fairlight wrote:
>Y'all catch dis heeyah?  Bill Campbell been jivin' 'bout like:
>> 
>> Are you running FilePro with the files on an NFS server and expecting locks
>> to work???  That's kinda like playing russion roulette with a semi-
>> automatic pistol!  Everything I've ever read about NFS says that it
>> shouldn't be used where locking is required.
>
>Well, v2 was certainly problematic.  v3 is supposed to be superior, and
>indeed it is--provided statd actually runs.
>
>The problem with SuSE 9.0 is that [lockd] runs via the kernel from all
>appearances.  That's internalised to the kernel.  That bit is fine.  The
>real problem isn't lockd itself.
>
>If you start the server by virtue of having exports present (I didn't even
>-use- YaST to configure the NFS server, I did it manually--it's faster),
>the nfslock init script is actually put into play, and will start rpc.statd
>at boot.  Don't ask me what actually creates the rcX.d/S10nfslock symlinks
>if you configure /etc/exports manually, I haven't tracked that bit down
>yet, but it's irrelevant.
>
>However, running purely as a client without a server on the same host, the
>nfslock init script never runs, rpc.statd is never instantiated, and the
>entire locking system promptly falls to the ground in pieces tiny enough to
>require a pair of tweezers.  BOTH need to be running, and one does not by
>default in a client-only system.  Probably the first real design flaw I've
>found in SuSE, but not unfixable:
>
>ln -sf /etc/init.d/nfslock /etc/init.d/rc3.d/S99nfslock
>ln -sf /etc/init.d/nfslock /etc/init.d/rc5.d/S99nfslock

The official way to do this on SuSE which puts things where
they're supposed to be in the start/stop hierarcy:

cd /etc/init.d
insserv nfslock

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

If the Democrats had wanted Gore to be president, they should have
voted for impeachment.


More information about the Filepro-list mailing list