From owner-freebsd-questions@FreeBSD.ORG Mon Apr 16 15:55:11 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 24B7A1065686; Mon, 16 Apr 2012 15:55:11 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward19.mail.yandex.net (forward19.mail.yandex.net [IPv6:2a02:6b8:0:1402::4]) by mx1.freebsd.org (Postfix) with ESMTP id 793788FC18; Mon, 16 Apr 2012 15:55:10 +0000 (UTC) Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward19.mail.yandex.net (Yandex) with ESMTP id 1BF2E112154C; Mon, 16 Apr 2012 19:55:09 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334591709; bh=P2nnMuhs7rYP4qOs5As3FNIu8lB1JAZ3u2XuufnsWBU=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bNwPvO/vEe1V0Qi9QIu2V0xcivdotyuHyB1UGGV2yGYNmDw0LEIAuGrFOlPkGwhsR XSvtxiMLjOLr+FvkS3nJ3n7yMWMZLmw6HJFsjME/2FGCYZT4/O2DgtQB5CFxNx8ieN LIIohqH789BTfteGq/TB+ulgnvl4kXL9AARkcPvM= Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id F01226A02E3; Mon, 16 Apr 2012 19:55:08 +0400 (MSK) Received: from unknown (unknown [77.93.52.20]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTP id t8ECXYbE-t8EODa02; Mon, 16 Apr 2012 19:55:08 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1334591708; bh=P2nnMuhs7rYP4qOs5As3FNIu8lB1JAZ3u2XuufnsWBU=; h=Date:From:X-Mailer:Reply-To:Organization:X-Priority:Message-ID:To: CC:Subject:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; b=Igfl3cnEUoUAPptExU17BMn6AfkqVy5353qUHbQ1u77fL1HJcxek95ZzE99Iqfzjf 80A5cWf//zEU7mihZSkBQNsltTgf0e7wBphLWu/9suFSbYcLkuii6e/nangTooKDc6 v7rubd6Qsaw0W0sZTSDlKdZGTt9meiJEDga5307g= Date: Mon, 16 Apr 2012 18:55:06 +0300 From: Eugen Konkov X-Mailer: The Bat! (v4.0.24) Professional Organization: ISP FreeLine X-Priority: 3 (Normal) Message-ID: <912483018.20120416185506@yandex.ru> To: Greg Larkin In-Reply-To: <4F8C3D22.9070509@FreeBSD.org> References: <1949545469.20120416170157@yandex.ru> <4F8C2CAB.4050602@FreeBSD.org> <1233609080.20120416180730@yandex.ru> <4F8C3D22.9070509@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: newfs create to little inodes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugen Konkov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 15:55:11 -0000 Здравствуйте, 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