home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- 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
- From: mcba@newt.phys.unsw.edu.au (Michael C. B. Ashley)
- Subject: Re: NFS problem
- Message-ID: <1992Sep3.234012.18694@usage.csd.unsw.OZ.AU>
- Summary: try using NFS locking
- Sender: news@usage.csd.unsw.OZ.AU
- Nntp-Posting-Host: newt.phys.unsw.edu.au
- Organization: University of New South Wales
- References: <1992Sep2.193805.3107@coe.montana.edu>
- Date: Thu, 3 Sep 1992 23:40:12 GMT
- Lines: 32
-
- In article <1992Sep2.193805.3107@coe.montana.edu>, osycs@giac1.oscs.montana.edu (Craig Spannring) writes:
- >
- > I have a DECStation 5000 setup as an NFS server for a few 3100's. I am
- > having a problem with the server locking up for about 15 seconds or so
- > whenever one of the clients tries to access through a stale NFS
- > handle.
- >
- I had this problem too, and it went away after installing NFS locking. I
- put the following in /etc/rc.local
-
- # %NFSLOCKSTART%
- echo -n 'NFS Locking: '^I^I^I^I^I^I>/dev/console
- [ -f /usr/etc/nfssetlock ] && {
- ^I/usr/etc/nfssetlock on & echo -n 'enabled; '^I>/dev/console
- }
- [ -f /usr/etc/statd ] && {
- ^I/usr/etc/statd & echo -n 'daemons: statd '^I^I^I>/dev/console
- }
- [ -f /usr/etc/lockd ] && {
- ^I/usr/etc/lockd & echo 'and lockd'^I^I^I^I>/dev/console
- }
- # %NFSLOCKEND%
-
- (those ^I are tabs - my editor shows them explicitly so I know they are
- there...)
-
- Hope this helps. I presume this is what fixed my problem. Its a pity
- that the documentation is not a bit more helpful in this regard. Also,
- "nfssetup" disables locking by default if I remember correctly.
-
- Michael Ashley mcba@newt.phys.unsw.edu.au
-
-