From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 07:26:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C434B16A41C for ; Tue, 28 Jun 2005 07:26:14 +0000 (GMT) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CF8143D53 for ; Tue, 28 Jun 2005 07:26:14 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1DnAU1-00066r-6Z for freebsd-questions@freebsd.org; Tue, 28 Jun 2005 01:26:13 -0600 Mime-Version: 1.0 (Apple Message framework v730) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD Mailing List From: Chad Leigh -- Shire.Net LLC Date: Tue, 28 Jun 2005 01:26:13 -0600 X-Mailer: Apple Mail (2.730) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on hobbiton.shire.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_50, GREYLIST_ISWHITE autolearn=disabled version=3.0.3 X-SA-Exim-Version: 4.2 (built Mon May 30 00:43:02 MDT 2005) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) Subject: noob question on disk sizes and inode density X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 07:26:14 -0000 Ok I have an md(4) file system that I changed the block size and inode density on. The file was about 1.3GB in size originally and when using newfs with standard parameters shows about 1.3GB in size. My new parameters to newfs ( -f 512 -b 4096 -i 1024 -U -O 2) are meant to allow a lot of small files (basically lots of files around 170bytes long). (holding mail "tuples" for a sort of grey listing) However, df (df -h or df -m etc) shows 1.0Gb instead of 1.3Gb for the file system size. Is the "missing" ~ 300mb the extra space needed to store the actual extra inodes themselves or is it an artifact of changing the parameters so that df gets confused? Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net