home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / sysv386 / 13112 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.9 KB  |  45 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!orchard.la.locus.com!hatch!mike
  3. From: mike@hatch.socal.com (Mike Bernadett)
  4. Subject: Re: UFS , SVR4, and inodes limits
  5. Message-ID: <BsxCro.Fwx@hatch.socal.com>
  6. Organization: Hatch Usenet and E-mail.  Playa del Rey, CA
  7. References: <1992Aug6.014526.13249@isus.UUCP> <MJN.92Aug9042633@pseudo.uucp>
  8. Date: Thu, 13 Aug 1992 13:42:59 GMT
  9. Lines: 34
  10.  
  11. >hoyt@isus.UUCP (Hoyt A. Stearns jr.) writes:
  12. >
  13. >>In UHC SVR4,  an artificial limit of 64000 inodes is placed on UFS file
  14. >>systems (mkfs -C).  I re-created the filesystem without the "-C",
  15. >>but the df command reports (accurately) the limit is still there.
  16. >>the mtune file shows an upper limit of 1300 inode blocks, which I set.
  17. >
  18. Murray writes:
  19. >Actually, the limit is 64K, not 64000.
  20. >
  21. >On a System V filesystem, directory entries contain only 2 bytes with
  22. >which to represent the inode of a file, thus the limit of 64K inodes
  23. >per filesystem.  The actual number of available inodes is one less
  24. >than this, as inode 0 is reserved to indicate an empty directory
  25. >entry.
  26. >
  27. >This limit is the reason many System V sites must spool comp.lang.c
  28. >and comp.unix.questions onto separate filesystems. :-)
  29. >
  30.  
  31. Pre-SVR4 this was the case, but with the SVR4 ufs filesystem, you should
  32. be able to get more than 64K inodes (according the the AT&T SVR4 ufs docs)
  33. if you wail on the mkfs command enough.
  34.  
  35. Try decreasing the number of cylinders per cylinder group, thereby increasing
  36. the number of cgs.  You may be limited by an inodes-per-cg calculation in mkfs.
  37.  
  38. decreasing nbpi (block-to-inode ratio) on my AT&T SVR4 gives me a warning that
  39. I'm going above 64K, but doesn't do anything -- I still get ~20,000 inodes
  40. on a 125MB filesystem until I increase the number of cylinder groups.
  41.  
  42. -- 
  43. Mike Bernadett                                        mike@hatch.socal.com
  44. 8635 Falmouth Ave. #105, Playa del Rey, CA 90293      (310) 305-8758
  45.