Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 11:15:12 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        Eugen Konkov <kes-kes@yandex.ru>, freebsd-questions@freebsd.org
Subject:   Re: newfs create to little inodes
Message-ID:  <CAHu1Y70fMZBt5Ms+fjsEQTZApUmwm9KE6RmqOMFMvO3D8u5tNA@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1204161944430.2309@wojtek.tensor.gdynia.pl>
References:  <1949545469.20120416170157@yandex.ru> <alpine.BSF.2.00.1204161944430.2309@wojtek.tensor.gdynia.pl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, Apr 16, 2012 at 10:46 AM, Wojciech Puchar <
wojtek@wojtek.tensor.gdynia.pl> wrote:

>
>> Does newfs always must create sufficient count of inodes? or I must
>> supply some addition options when creating FS?
>>
>>  yes
>
> man newfs
>
> (-i option)
>
>
There are many use cases for a filesystem - if you have mostly very large
files, the defaults in newfs reserve too many inodes per X number of blocks
- if you have mostly small files, there will be too few.  It takes
experience and a little luck to create filesystem in which free blocks and
free inodes get consumed proportionally.  Start by reading the man page and
grok deeply.

- M



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAHu1Y70fMZBt5Ms+fjsEQTZApUmwm9KE6RmqOMFMvO3D8u5tNA>