newfs create to little inodes

Robert Bonomi bonomi at mail.r-bonomi.com
Mon Apr 16 15:52:25 UTC 2012


> From owner-freebsd-questions at freebsd.org  Mon Apr 16 09:03:45 2012
> Date: Mon, 16 Apr 2012 17:01:57 +0300
> From: Eugen Konkov <kes-kes at yandex.ru>
> To: freebsd-questions at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list