newfs create to little inodes

Michael Sierchio kudzu at tenebras.com
Mon Apr 16 18:15:13 UTC 2012


On Mon, Apr 16, 2012 at 10:46 AM, Wojciech Puchar <
wojtek at 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


More information about the freebsd-questions mailing list