home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6686 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.6 KB  |  46 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!mineng.dmpe.CSIRO.AU!dmssyd.syd.dms.CSIRO.AU!metro!usage!newt.phys.unsw.edu.au!mcba
  3. From: mcba@newt.phys.unsw.edu.au (Michael C. B. Ashley)
  4. Subject: Re: NFS problem
  5. Message-ID: <1992Sep3.234012.18694@usage.csd.unsw.OZ.AU>
  6. Summary: try using NFS locking
  7. Sender: news@usage.csd.unsw.OZ.AU
  8. Nntp-Posting-Host: newt.phys.unsw.edu.au
  9. Organization: University of New South Wales
  10. References: <1992Sep2.193805.3107@coe.montana.edu>
  11. Date: Thu, 3 Sep 1992 23:40:12 GMT
  12. Lines: 32
  13.  
  14. In article <1992Sep2.193805.3107@coe.montana.edu>, osycs@giac1.oscs.montana.edu (Craig Spannring) writes:
  15. > I have a DECStation 5000 setup as an NFS server for a few 3100's.  I am
  16. > having a problem with the server locking up for about 15 seconds or so
  17. > whenever one of the clients tries to access through a stale NFS
  18. > handle.
  19. I had this problem too, and it went away after installing NFS locking. I
  20. put the following in /etc/rc.local
  21.  
  22. # %NFSLOCKSTART%
  23. echo -n 'NFS Locking: '^I^I^I^I^I^I>/dev/console
  24. [ -f /usr/etc/nfssetlock ] && {
  25. ^I/usr/etc/nfssetlock on & echo -n 'enabled; '^I>/dev/console
  26. }
  27. [ -f /usr/etc/statd ] && {
  28. ^I/usr/etc/statd & echo -n 'daemons: statd '^I^I^I>/dev/console
  29. }
  30. [ -f /usr/etc/lockd ] && {
  31. ^I/usr/etc/lockd & echo 'and lockd'^I^I^I^I>/dev/console
  32. }
  33. # %NFSLOCKEND%
  34.  
  35. (those ^I are tabs - my editor shows them explicitly so I know they are
  36. there...)
  37.  
  38. Hope this helps. I presume this is what fixed my problem. Its a pity
  39. that the documentation is not a bit more helpful in this regard. Also,
  40. "nfssetup" disables locking by default if I remember correctly.
  41.  
  42. Michael Ashley mcba@newt.phys.unsw.edu.au
  43.  
  44.