From owner-freebsd-questions@FreeBSD.ORG Mon Apr 16 15:39:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D2E7106566C for ; Mon, 16 Apr 2012 15:39:22 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1F88FC0A for ; Mon, 16 Apr 2012 15:39:22 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1SJo1M-000LGS-8e; Mon, 16 Apr 2012 11:39:21 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) by Gregory-Larkins-iMac.local (Postfix) with ESMTP id 1164E11372DC; Mon, 16 Apr 2012 11:39:15 -0400 (EDT) Message-ID: <4F8C3D22.9070509@FreeBSD.org> Date: Mon, 16 Apr 2012 11:39:14 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Eugen Konkov References: <1949545469.20120416170157@yandex.ru> <4F8C2CAB.4050602@FreeBSD.org> <1233609080.20120416180730@yandex.ru> In-Reply-To: <1233609080.20120416180730@yandex.ru> X-Enigmail-Version: 1.4 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org Subject: Re: newfs create to little inodes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 15:39:22 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/16/12 11:07 AM, Eugen Konkov wrote: > =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Greg. >=20 > =C2=FB =EF=E8=F1=E0=EB=E8 16 =E0=EF=F0=E5=EB=FF 2012 =E3., 17:28:59: >=20 > GL> -----BEGIN PGP SIGNED MESSAGE----- GL> Hash: SHA1 >=20 > GL> On 4/16/12 10:01 AM, Eugen Konkov wrote: >>>=20 >>> Does newfs always must create sufficient count of inodes? or I=20 >>> must supply some addition options when creating FS? >>>=20 >>> #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 >>>=20 >>>=20 >=20 > GL> Hello Eugen, >=20 > GL> Yes, please check the -i option of newfs: GL> > http://www.freebsd.org/cgi/man.cgi?query=3Dnewfs >=20 > GL> Hope that helps, GL> Greg >=20 > 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 =3D( >=20 > but about 50% disk space are free yet >=20 >=20 Yes, please try increasing the number of inodes when you create the filesystem. The -i option is used to do that if you are not happy with the default picked by newfs. Regards, Greg - --=20 Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+MPSIACgkQ0sRouByUApDNQQCgp9PuMZMfeg/7lxbdWUcnUfUP kasAoIQEbx7FjV7Xw8eV1BcJ1cvWPpX6 =3D0DLy -----END PGP SIGNATURE-----