*BSD News Article 65626


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!ruhr.de!nathan.ruhr.de!not-for-mail
From: ue@nathan.ruhr.de (Udo Erdelhoff)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: newfs bug...
Date: 14 Apr 1996 22:03:36 +0200
Lines: 21
Message-ID: <4krlmo$n1@nathan.ruhr.de>
NNTP-Posting-Host: nathan.ruhr.de
X-Newsreader: TIN [version 1.2 PL2]

Hi,
I had to recreate the filesystem used for /var today because I kept
running out of inodes. The manual page states that the default is to
create one inode per 2048 bytes of data space. I found out that a
simple newfs /dev/rsd1s1f would create a filesystem with approx.
100 MByte data space and approx. 30000 inodes. In other words: one
inode per 3072 bytes of data space.

A newfs -i 2048 /dev/rsd1s1f created a filesystem with ~50000 inodes
for ~100 MBytes data space. That's more like it.

Is this a flaw in newfs, the manual page for it or did I miss something
important? The system runs FreeBSD 2.1R.

/s/Udo
PS: The original filesystem had only 13000 inodes for 100 MBytes of
data space. I think that the installation program that created this
filesystem should be forced to run under WIN95 for a couple of days.
Crime must not pay....
-- 
Udo Erdelhoff						ue@nathan.ruhr.de