home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / admin / 8551 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.2 KB  |  42 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!mizar.cc.umanitoba.ca!mills
  3. From: mills@ccu.umanitoba.ca (Gary Mills)
  4. Subject: Re: DISK LIMIT REACHED
  5. Message-ID: <By3A6F.66x@ccu.umanitoba.ca>
  6. Sender: news@ccu.umanitoba.ca
  7. Nntp-Posting-Host: altair.cc.umanitoba.ca
  8. Organization: University of Manitoba, Winnipeg, Canada
  9. References: <1992Nov20.234709.21592@megatek.com>
  10. Date: Sat, 21 Nov 1992 23:20:38 GMT
  11. Lines: 29
  12.  
  13. In <1992Nov20.234709.21592@megatek.com> randy@megatek.com (Randy Davis) writes:
  14.  
  15. >  Has anyone seen this message on a fileserver's console?:
  16.  
  17. >DISK LIMIT REACHED (/filesystem) - WRITE FAILED
  18.  
  19. >  If you have, have you succeeded in eradicating it?
  20.  
  21. This will do it.  I run it from rc.local.
  22.  
  23. #!/bin/sh
  24. #kpatch: apply local patches to the running kernel
  25. #    disable console printfs
  26.  
  27. N=/vmunix
  28. D=/dev/mem
  29.  
  30. adb -w -k $N $D <<\EOF
  31. noprintf/W 1
  32. $q
  33. EOF
  34.  
  35. #!/end
  36.  
  37. The kernel quota routines attempt to write these messages to the user's
  38. tty, but when the user is on an NFS client, this fail, so they write
  39. them directly to the console instead.  Silly idea!
  40. -- 
  41. -Gary Mills-         -Networking Group-          -U of M Computer Services-
  42.