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

  1. Path: sparky!uunet!ogicse!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!lkg.dec.com!thomas
  2. From: thomas@lkg.dec.com (Matt Thomas)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: Can't make enough inodes
  5. Message-ID: <1992Nov7.014000.10694@nntpd.lkg.dec.com>
  6. Date: 7 Nov 92 01:40:00 GMT
  7. Article-I.D.: nntpd.1992Nov7.014000.10694
  8. References: <1desisINNdas@cat.cis.Brown.EDU>
  9. Sender: thomas@mipsbx.lkg.dec.com (Matt Thomas)
  10. Reply-To: thomas@lkg.dec.com
  11. Organization: Digital Equipment Corporation
  12. Lines: 40
  13.  
  14.  
  15. In article <1desisINNdas@cat.cis.Brown.EDU>, JIM@brownvm.brown.edu (James Mathiesen) writes:
  16. |>We have a DEC RISC machine running Ultrix 4.2a -- Rev 47.
  17. |>Among other things this is being used for netnews and has a couple
  18. |>of 1.3gig disks for that purpose.  The problem I'm having is there
  19. |>are way to few inodes in the filesystems of these disks.  The documentation
  20. |>says the default is an inode per 2k.  These disks have an inode per 4k.
  21. |>My best guess is the disks will run out of inodes when they are 65% full.
  22. |>
  23. |>Here's the newfs command I tried:
  24. |>
  25. |>  # newfs -v -i 512 /dev/rrz5g RZ58
  26. |>  Warning: partition table overriding /etc/disktab
  27. |>  /etc/mkfs /dev/rrz5g 1878860 85 15 8192 1024 16 10 60 512 t
  28. |>  Warning: 502 sector(s) in last cylinder unallocated
  29. |>  /dev/rrz5g:     1878848 sectors in 1474 cylinders of 15 tracks, 85 sectors
  30. |>          962.0Mb in 93 cyl groups (16 c/g, 10.44Mb/g, 2048 i/g)
  31. |>
  32. |>But that just builds the same old filesystem with the same number of
  33. |>inodes.  Passing various -i parameters leads me to believe that mkfs
  34. |>is ignoring the value completely.
  35. |>
  36. |>I can't find anything useful in the man pages for mkfs, newfs, or chpt.
  37. |>Does anyone have any suggestions?  Partitioning the disk further
  38. |>won't help, at least not as long as the ratio of inodes stays the
  39. |>same.
  40.  
  41. The easiet way it to lower the number of cylinders per group (-c 8) and 
  42. reduce the block/frag to 4096/512 (-b 4096 -f 512).  Here's what I have for
  43. my news server: 
  44.  
  45. Filesystem   Total    kbytes   kbytes   %     inodes   inodes   %
  46. node         kbytes   used     free     used  used     free     used Mounted on
  47. /dev/ds0a    2008950 1735109   72946    96%   596322   77470    89%  /usr/spool/news
  48.  
  49. --
  50. Matt Thomas                     Internet:   thomas@lkg.dec.com
  51. DECnet-ULTRIX Development       UUCP:       ...!decwrl!thomas
  52. Digital Equipment Corporation   Disclaimer: This message reflects my own
  53. Littleton, MA                               warped views, etc.
  54.