home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / ultrix / 9205 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  3.0 KB

  1. Xref: sparky comp.unix.ultrix:9205 comp.unix.wizards:5384
  2. Newsgroups: comp.unix.ultrix,comp.unix.wizards
  3. Path: sparky!uunet!cs.utexas.edu!torn!blaze.trentu.ca!ccksb
  4. From: ccksb@trentu.ca (Ken Brown)
  5. Subject: help with quotas please
  6. Message-ID: <1993Jan7.224604.5285@trentu.ca>
  7. Organization: Trent University, Ontario
  8. Date: Thu, 7 Jan 1993 22:46:04 GMT
  9. Lines: 58
  10.  
  11.  
  12. Hello,
  13.  
  14. I'm having some difficulty with quotas and I'm certain there is someone
  15. out there who could enlighten me (or point me on the path to true
  16. enlightenment - re: the zen of disk quotas).
  17.  
  18. I'm running ultrix 4.2a on a DECsystem 5000.  Upon creating a few
  19. accounts today it appeared that disk quotas were not being set as they
  20. should be (we run an addusers program which, among other things, sets
  21. the quota for a user).  We `inherited' this addusers program which has
  22. worked fine so let's leave this out of the question.  At any rate, a
  23. `quota' on these users indicated none.
  24.  
  25. A quick and dirty rtfm of repquota and quotacheck lead me to run these
  26. little ditties which seems to have corrected the problems and given
  27. quotas to those accounts mentioned above.  So, here are my questions;
  28.  
  29. 1)    Can quotas get screwed up?  And if so how?  Nemeth, Snyder and
  30. Seebass indicate that quota information can become degraded after long
  31. periods of time and/or abrupt system halts and crashes.   We've had
  32. neither, to my knowledge.  Whaddaya think?
  33.  
  34. 2)    How do I interpret the results of quotacheck?  This seems to
  35. have repaired the problem of accounts without quotas - a subsequent
  36. `quota' on the account shows quotas where they were not before.  Has the
  37. utility _really_ ben successful in finding accounts with no quota and
  38. imposing a quota?  Here are partial results of one pass of quotacheck;
  39.  
  40. # quotacheck -v /usr/users
  41. *** Check quotas for /dev/rrz1f
  42. operator   fixed: inodes (old 599, new 600) blocks (old 8810, new 8812)
  43. ccgwt      fixed: inodes (old 1767, new 1771) blocks (old 108260, new 108260)
  44. pypm       fixed: inodes (old 74, new 75) blocks (old 2710, new 2710)
  45. csplr      fixed: inodes (old 284, new 290) blocks (old 8518, new 8518)
  46. csre       fixed: inodes (old 11, new 12) blocks (old 76, new 76)
  47.  
  48. 3)    How do I interpret the results of repquota?  Specifically, what
  49. does `--' vs. `+-' mean?  Here are partial results of one pass of
  50. repquota;
  51.  
  52. # repquota -a
  53.                         Block limits               File limits
  54. User            used    soft    hard  warn    used  soft  hard  warn
  55. operator  --   39120       0       0     0     539     0     0     0
  56. cclrl     +-   13999   13900   14000     3     670     0     0     3
  57. pymbr     +-    4761    1900    2000     3     353     0     0     3
  58.  
  59. 4)    What might you recommend as a procedure to check the status of
  60. all users' quotas and to assure (or be warned) of accounts without
  61. quotas and/or with quotas outside specified values?
  62.  
  63. Thanks in advance for comments/recommendations/pointers.
  64.  
  65. -- 
  66. Ken Brown                                   internet: kbrown@trentu.ca
  67. Trent University Computing & Telecommunications  tel: (705)748-1540
  68. Peterborough, Ontario, Canada, K9J 7B8           fax: (705)748-1246 
  69.