Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 19:32:44 +0300
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        Robert Bonomi <bonomi@mail.r-bonomi.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re[2]: newfs create to little inodes
Message-ID:  <64897541.20120416193244@yandex.ru>
In-Reply-To: <201204161552.q3GFqcTc023692@mail.r-bonomi.com>
References:  <1949545469.20120416170157@yandex.ru> <201204161552.q3GFqcTc023692@mail.r-bonomi.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>>
>> Does newfs always must create sufficient count of inodes? 

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

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

RB> Newfs uses defaults that are 'reasonable' for 'typical' use, and are
RB> rarely insuficient.
'typical' use: install system and install ports
fetch sources and buildworld
this cause me insuficient inodes
>> Filesystem size   used  avail  capacity iused ifree %iused  mounted on
>> /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k    0     100%   /mnt/disk1

I know 'man' and can read that. I only ask to use different values for
disks with size ~5G. this change will make life easier for newbies.
I only question: 'Is this change will make life easier for others'?
I do not ask, why I can not do something, or help me or else.


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

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

RB> "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
>>
RB> Yup.  RTFM is -definitely- indicated.
>>



-- 
С уважением,
 Eugen                          mailto:kes-kes@yandex.ru




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