home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / admin / 6083 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.9 KB

  1. Path: sparky!uunet!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: shutdown (was Re: (rsh somehost reboot) never exits)
  5. Date: 6 Nov 1992 16:54:02 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 33
  8. Message-ID: <1de7vaINN7r1@early-bird.think.com>
  9. References: <janet.720669557@dunnart>> <PD.92Nov3155621@herts.x.co.uk> <janet.721043068@dunnart>
  10. NNTP-Posting-Host: telecaster.think.com
  11.  
  12. In article <janet.721043068@dunnart> janet@cs.uwa.oz.au (Janet Jackson) writes:
  13. >What I meant was that shutdown on an NFS server should send messages 
  14. >only to clients that have filesystems mounted from that server, as listed
  15. >in the server's /etc/rmtab.
  16.  
  17. That's what it does.
  18.  
  19. >>All SunOS machines on the local net receive the message - I think it
  20. >>uses rwall, but that name is not present in the binary.
  21.  
  22. It uses the rwall protocol, but not by exec'ing the rwall program.  It
  23. calls the rwall RPC directly.
  24.  
  25. >Hmm...we have Suns on three subnets, and as far as I recall, when
  26. >any Sun that's an NFS server is shut down, most of the Suns on all the subnets
  27. >get the messages.  I'll have to test this next time I shut down a system.
  28. >(Most exported filesystems are exported to most Suns.  That's why I thought
  29. >shutdown might be looking at the export list.)
  30.  
  31. No, it's probably because most clients mount file systems from all of the
  32. servers.  There are many cases where entries don't get removed from
  33. /etc/rmtab (if a client crashes instead of shutting down gracefully, it
  34. won't unmount remote file systems), so shutdown messages often go to every
  35. machine that has *ever* mounted a file system from the server.
  36.  
  37. One kludge is to truncate /etc/rmtab periodically.  Note that you have to
  38. kill mountd around this, so that it will pick up the new end of file
  39. location.
  40. -- 
  41. Barry Margolin
  42. System Manager, Thinking Machines Corp.
  43.  
  44. barmar@think.com          {uunet,harvard}!think!barmar
  45.