From owner-freebsd-questions@FreeBSD.ORG Sun Jul 11 05:49:15 2004 Return-Path: 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 CEFE616A4CE for ; Sun, 11 Jul 2004 05:49:15 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C20043D2F for ; Sun, 11 Jul 2004 05:49:15 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i6B5nCIm055398; Sun, 11 Jul 2004 00:49:12 -0500 (CDT) (envelope-from dan) Date: Sun, 11 Jul 2004 00:49:12 -0500 From: Dan Nelson To: Steven Adams Message-ID: <20040711054912.GB95931@dan.emsphone.com> References: <20040711053043.6DCBDFE9A@drifthost.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040711053043.6DCBDFE9A@drifthost.com> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: HDD Sizes reported wrong? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 05:49:15 -0000 In the last episode (Jul 11), Steven Adams said: > I have a LSI MegaRaid Raid card with 5x 36gig raid 5 scsi drives.. > > Now my /home is getting reported at 108gig(which is right) But for > some reason its saying 97gig free and 2.4 gig used.. > > Im confussed where the other 8.5gig or so is gone?? > > /dev/amrd0s1h 108G 2.4G 97G 2% /home First, I recommend not using the -h option when trying to total things up. You lose lots of precision. Second, the df values don't total up because 8% is reserved on ffs filesystems so the disk allocation algorithms stay efficient. You can lower it with tunefs but as the disk gets closer to 100%, performance rapidly degrades and files will get fragmented. Root can use that 8% which gives you the added benefit that if a user fills up a drive it doesn't keep root processes from working. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL -- Dan Nelson dnelson@allantgroup.com