From owner-freebsd-fs@FreeBSD.ORG Mon Jun 11 18:11:36 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB1EC16A46C for ; Mon, 11 Jun 2007 18:11:36 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.freebsd.org (Postfix) with ESMTP id 75AB713C4BC for ; Mon, 11 Jun 2007 18:11:36 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: by zoraida.natserv.net (Postfix, from userid 58) id DFFBEC2EC; Mon, 11 Jun 2007 14:11:35 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on zoraida.natserv.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=4.0 tests=ALL_TRUSTED, DK_POLICY_SIGNSOME autolearn=disabled version=3.1.8 X-Spam-Report: * 0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from 35st.simplicato.com (static-71-249-233-130.nycmny.east.verizon.net [71.249.233.130]) by zoraida.natserv.net (Postfix) with ESMTP id 35E2FC2AF; Mon, 11 Jun 2007 14:11:33 -0400 (EDT) References: <20070611161148.GA19299@keira.kiwi-computer.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: rick-freebsd@kiwi-computer.com Date: Mon, 11 Jun 2007 14:11:32 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit Cc: FreeBSD Filesystem Subject: Re: Inode density for database machines - newfs -i X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2007 18:11:36 -0000 Rick C. Petty writes: > It depends on the average size of the files, which is what the inode > density refers to (actually it means "create an inode for every N bytes of Given that I have a machine very simmilar to the next DB machine I have a good idea of how many inodes I need. > sure you have enough inodes for your filesystem... running out is no fun > either. "newfs" tells you how many inodes it creates per cylinder group Will do. The current machine is using 2056 inodes for 1.2TB.. with 3,539,382 inodes free. For the next machine I will use a higher number in newfs until I get the number of free Inodes close to 100K. That will give the machine plenty of free inodes. Thanks for your feedback.