home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8988 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.3 KB

  1. Xref: sparky comp.unix.ultrix:8988 comp.unix.misc:4647
  2. Newsgroups: comp.unix.ultrix,comp.unix.misc
  3. Path: sparky!uunet!think.com!ames!pacbell.com!rtech!ingres!rog
  4. From: rog@Ingres.COM (Roger Taranto)
  5. Subject: Re: Ultrix newfs/mkfs -- can't change number of inodes?!
  6. Message-ID: <1992Dec20.094432.9276@pony.Ingres.COM>
  7. Organization: Ingres Corporation, a subsidiary of The ASK Group, Inc.
  8. References: <BzFv8K.JEJ@mtholyoke.edu>
  9. Date: 20 Dec 92 09:44:32 GMT
  10. Lines: 21
  11.  
  12. We just spent the day playing with mkfs trying to tune our news partitions,
  13. and have empirically determined many of the defaults.
  14.  
  15. From the document describing the Berkeley Fast File System, there is a
  16. hard limit of 2048 inodes per cylinder group.
  17.  
  18. If the block size is 8192, then the number of cylinders per group must
  19. be a multiple of 16, and the frag size must be at least 1024.
  20.  
  21. If the block size is 4096, then the number of cylinders per group must
  22. be a multiple of 8, and the frag size must be at least 512.
  23.  
  24. So, if you're at the maximum of 2048 inodes per cylinder group, and the
  25. number of cylinders per group is 16, then you have to lower the block size
  26. to 4096 to be able to lower the cylinders per group to 8.
  27.  
  28. The BSD FFS document also seemed to imply that 4096 and 8192 were the only
  29. block size choices.
  30.  
  31. -Roger
  32. rog@ingres.com
  33.