From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7a01654699d9257f X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,7a01654699d9257f X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,7a01654699d9257f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-01-16 05:15:01 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!gatech!bloom-beacon.mit.edu!crl.dec.com!crl.dec.com!nntpd.lkg.dec.com!alingo.zk3.dec.com!werme From: werme@alingo.zk3.dec.com (Eric Werme) Newsgroups: comp.unix.osf.osf1,comp.unix.ultrix,comp.sys.dec Subject: Re: Mail Locking Ultrix/OSF Date: 16 Jan 95 13:15:01 GMT Organization: Digital Equipment Corporation Message-ID: References: <3e1p6l$i3f@amhux3.amherst.edu> <1995Jan2.124404.1101@arbi.Informatik.Uni-Oldenburg.DE> <3enuqs$9n6@geneva.rutgers.edu> Reply-To: werme@zk3.dec.com NNTP-Posting-Host: alingo.zk3.dec.com Xref: nntp.gmd.de comp.unix.osf.osf1:7274 comp.unix.ultrix:16489 comp.sys.dec:21047 hedrick@geneva.rutgers.edu (Chuck Hedrick) writes: >werme@alingo.zk3.dec.com (Eric Werme) writes: >>At present, I believe we have three open bug reports against rpc.lockd. >>... If NFS locking were "almost always >>broken", I would expect more bug reports. >It's almost always broken on SunOS 4.1.x (or has been enough in the >past that most of us aren't prepared to believe it's working now). One problem with SunOS is that the only path I know of to get a better rpc.lockd is to "upgrade" to Solaris, and even then I think our lock daemon has a couple of bug fixes Solaris doesn't. >That means that in mixed environments I'm not even going to try it. >One thing I noticed in doing user support is that when something fails >a few times, people give up using it. Yeah, I know that, and was sort of leaning on that as I said said it works pretty well. On the other hand, we have a number of customers who aren't familiar with the reputation rpc.lockd has (and so richly deserved (note past tense)), and do squawk loudly when things go wrong. Unfortunately, even the task of discovering that the problem is related to file locking is a challenge, so I suspect some people never bother to file a bug report because they don't know what to say. >Rutgers has used lock files in many configurations for quite a long >time, so I'm pretty confident that it works OK. As far as I know, locking via "ln file file.lock" should work okay. I've thought about it a little, and I keep that in mind whenever visiting that part of the code. I'm not too sure about any other form. I *encourage* people to use rpc.lockd and report problems, at least those that are *our* problems and not SunOS's! I wish I had time to merge up my local tcpdump with LBL's and get it back to them as it supports NLM and NFS V3 decoding, and I wish we had a few spare months to work on rpc.lockd, but neither get have the priority that V3, SMP performance, etc. have. I'm a little reluctant to declare an "open season" on rpc.lockd, as the the support people would probably hang me in effigy (if not in person), so let me just reiterate that I think our rpc.lockd is one of the better ones around. Of course, you all may have to "upgrade" from SunOS to OSF/1 to benefit from it, but I'm sure everyone in this building would say that's a fine thing to do. :-) A couple other points: I don't know if Sun has/will ported the Solaris rpc.lockd to SunOS. Their transport-independent interface offers some challeneges. The current OSF/1 rpc.lockd won't work on Ultrix, because the KLM protocol versions are different. (The new KLM protocol has 64 bit offsets and is used for both NFS V2 and V3.) However, we have gotten some of the new code in OSF/1's rpc.lockd back into Ultrix, so things should be improving even there. -- Eric (Ric) Werme | werme@zk3.dec.com Digital Equipment Corp. | This space intentionally left blank.