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