From owner-freebsd-questions@FreeBSD.ORG Sun Jul 11 06:24:48 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 620CD16A4CE for ; Sun, 11 Jul 2004 06:24:48 +0000 (GMT) Received: from drifthost.com (drifthost.com [66.90.65.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45BB543D1D for ; Sun, 11 Jul 2004 06:24:48 +0000 (GMT) (envelope-from steve@drifthost.com) Received: from Steve (dsl-203-142-133-217.syd.directcorp.net.au [203.142.133.217]) by drifthost.com (Postfix) with ESMTP id 605DBFE9A; Sun, 11 Jul 2004 16:21:43 +1000 (EST) From: "Steven Adams" To: "'Dan Nelson'" Date: Sun, 11 Jul 2004 16:24:48 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040711054912.GB95931@dan.emsphone.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRnCl692QCykRqATsuFGEJ9a/bnDgABUiqQ Message-Id: <20040711062143.605DBFE9A@drifthost.com> 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 06:24:48 -0000 Thanks Dan I was looking through the handbook and just found it as I got the email :).. Think ill leave it as 8% as speed is important to this server. /Steve -----Original Message----- From: Dan Nelson [mailto:dnelson@allantgroup.com] Sent: Sunday, 11 July 2004 3:49 PM To: Steven Adams Cc: freebsd-questions@freebsd.org Subject: Re: HDD Sizes reported wrong? 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-TH AN-FULL -- Dan Nelson dnelson@allantgroup.com