Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 10:52:38 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: newfs create to little inodes
Message-ID:  <201204161552.q3GFqcTc023692@mail.r-bonomi.com>
In-Reply-To: <1949545469.20120416170157@yandex.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> From owner-freebsd-questions@freebsd.org  Mon Apr 16 09:03:45 2012
> Date: Mon, 16 Apr 2012 17:01:57 +0300
> From: Eugen Konkov <kes-kes@yandex.ru>
> To: freebsd-questions@freebsd.org
> Subject: newfs create to little inodes
>
>
> Does newfs always must create sufficient count of inodes? 

This begs the question of 'what is a sufficient count of inodes?"

It is well-known that the required 'inode densidy' depends on the usage
of the filesystem.

Newfs uses defaults that are 'reasonable' for 'typical' use, and are
rarely insuficient.

*IF*, however, you know you will be creating lots of 'tiny' files on a
particular filesystem, it is a GOOD IDEAT(tm) to use non-default settings.

>                                                           or I must
> supply some addition options when creating FS?

"Read the fine manpage" applies. along with 'know your useage'.

> #df -ih
> Filesystem size   used  avail  capacity iused ifree %iused  mounted on
> /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k    0     100%   /mnt/disk1
>
Yup.  RTFM is -definitely- indicated.
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201204161552.q3GFqcTc023692>