Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 1995 17:16:24 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Frank Durda IV <uhclem%nemesis@fw.ast.com>
Cc:        bugs@FreeBSD.ORG
Subject:   Re: newfs gets you fewer inodes these days. Why?
Message-ID:  <Pine.BSF.3.91.951128171149.14769C-100000@hub.org>
In-Reply-To: <m0tKTHh-00081GC@nemesis.lonestar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Nov 1995, Frank Durda IV wrote:

> I just installed 2.1 on a system that had a secondary 2GB SCSI that
> had not been disklabeled and such since the 1.1.5.1 days.  It
> ran 2.0.5 that way without incident but I thought it would be nice
> to get rid of all the moaning and complaining the 'slicer makes while
> booting.   Ha!
> 
> After installation, I discovered that the partitions no longer
> had sufficient inodes to hold the contents I needed to restore.
> 
> The 1.1.5.1 filesystems were newfs'ed with default settings for
> inodes back in the 1.1.5.1 days, so THE DEFAULTS WERE USED.  Promise.
> I was amazed at the time that I didn't have to tweak the values.
> 
> As an example of what is happening, a 450Meg partition ended up with nearly
> 210K inodes on 1.1.5.1, but on 2.1.0, it got 61438, even less than what
> a SCO UNIX system would provide for the same size "divvy" (65520).
> 61438 inodes was I got even with that partition a bit bigger (now 504Meg).
>


On a 2.1R system, /dev/sd1e was added to the system after installing:


System  1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mounted on
/dev/wd0a       29727    19148     8200    70%     911    6767    12%   /
/dev/wd0e       98479    79653    10947    88%    4599   26119    15%   /usr
/dev/wd0g       99887    16090    75806    18%     815   25039     3%   /home
/dev/sd1e      297423   117577   156052    43%   17732   59066    23%   /usr/src
/dev/sd0f      193215   145112    38442    79%    8042   41876    16%   /usr/local
/dev/sd0e       98479    60948    29652    67%    3342   27376    11%   /usr/local/src
/dev/wd0f       65663    43154    17255    71%      57   22981     0%   /usr/local/src/Installed
/dev/sd1f      181503    53229   113753    32%   11677   34401    25%   /home/news/spool
procfs              4        4        0   100%      46     134    26%   /proc


Notice that the number of I-nodes created on a 300Meg partition was
over 75,000 I-nodes.  In fact, as far back as I can remember (2years,
min), file systems under BSDi, another *BSD variant, defaulted to a
4block-to-1inode ratio.

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
scrappy@hub.org  |  WWW Services   Database Services  | Knowledge, 
 soon to be:     |                                    | Information and
scrappy@ki.net   |      WWW: http://hub.org           | Communications, Inc




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951128171149.14769C-100000>