Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 18:55:06 +0300
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        Greg Larkin <glarkin@FreeBSD.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re[2]: newfs create to little inodes
Message-ID:  <912483018.20120416185506@yandex.ru>
In-Reply-To: <4F8C3D22.9070509@FreeBSD.org>
References:  <1949545469.20120416170157@yandex.ru> <4F8C2CAB.4050602@FreeBSD.org> <1233609080.20120416180730@yandex.ru> <4F8C3D22.9070509@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Здравствуйте, Greg.

Вы писали 16 апреля 2012 г., 18:39:14:

GL> -----BEGIN PGP SIGNED MESSAGE-----
GL> Hash: SHA1

GL> On 4/16/12 11:07 AM, Eugen Konkov wrote:
>> Здравствуйте, Greg.
>> 
>> Вы писали 16 апреля 2012 г., 17:28:59:
>> 
>> GL> -----BEGIN PGP SIGNED MESSAGE----- GL> Hash: SHA1
>> 
>> GL> On 4/16/12 10:01 AM, Eugen Konkov wrote:
>>>> 
>>>> Does newfs always must create sufficient count of inodes? or I 
>>>> must supply some addition options when creating FS?
>>>> 
>>>> #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
>>>> 
>>>> 
>> 
>> GL> Hello Eugen,
>> 
>> GL> Yes, please check the -i option of newfs: GL>
>> http://www.freebsd.org/cgi/man.cgi?query=newfs
>> 
>> GL> Hope that helps, GL> Greg
>> 
>> unhappy defaults for disks about ~5G capacity because of this
>> default create only 350k inodes installig system and extract ports
>> eats about 95% of inodes =(
>> 
>> but about 50% disk space are free yet
>> 
>> 

GL> Yes, please try increasing the number of inodes when you create the
GL> filesystem.  The -i option is used to do that if you are not happy
GL> with the default picked by newfs.

I use newfs -U -i 1024 /dev/ad0s1a  I think I got enogh inodes

But maybe post the PR:
 use -i 1024 as default for disks ~5G when doing newfs?


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?912483018.20120416185506>