newfs create to little inodes
Eugen Konkov
kes-kes at yandex.ru
Mon Apr 16 16:32:52 UTC 2012
>>
>> 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 at yandex.ru
More information about the freebsd-questions
mailing list