From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 19:14:58 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 D33D616A4CE for ; Wed, 9 Jun 2004 19:14:58 +0000 (GMT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5B6143D48 for ; Wed, 9 Jun 2004 19:14:58 +0000 (GMT) (envelope-from rpratt1950@earthlink.net) Received: from user89.net1586.fl.sprint-hsd.net ([69.69.238.89] helo=kt.weeble.com) by snipe.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1BY8Wr-0000XU-00; Wed, 09 Jun 2004 12:14:29 -0700 Date: Wed, 9 Jun 2004 15:15:47 -0400 From: Randy Pratt To: Bill Moran Message-Id: <20040609151547.7a1d94f1.rpratt1950@earthlink.net> In-Reply-To: <20040609143652.1eaf6861.wmoran@potentialtech.com> References: <1086674510.1106.4.camel@solid.solisixoffice.com> <200406081436.i58Eaa704784@clunix.cl.msu.edu> <20040609070543.470a7e75.y2kbug@ms25.hinet.net> <20040609142552.52087a65.rpratt1950@earthlink.net> <20040609143652.1eaf6861.wmoran@potentialtech.com> X-Mailer: Sylpheed version 0.9.11 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: y2kbug@ms25.hinet.net Subject: Re: Improper shutdown of system / Fragmentation Problems / Boot logs 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: Wed, 09 Jun 2004 19:14:58 -0000 On Wed, 9 Jun 2004 14:36:52 -0400 Bill Moran wrote: > Randy Pratt wrote: > > > On Wed, 9 Jun 2004 07:05:43 +0800 > > Robert Storey wrote: > > > > > > > > > I am kinda new to FBSD, still kinda learning stuff. Anyway, when my > > > > system boots i see all kinda fragmentation information. How do I > > > > correct this? Any good reading material? > > > > > > FreeBSD will defragment itself without any action from the user. > > > However, defragmentation requires some blank space, and (ideally) you > > > should not let any partition get more than 80% full. You can check on > > > that with "df -h": > > > > I've been running partitions well over 90% for over six years on > > FreeBSD and have not seen any problems with doing so. > > > > Do you have a FreeBSD documentation reference for that 80% figure? > > man tunefs > > See, in particular, the section on the -m option, which describes (in brief) > the known performance problems and how FreeBSD reacts. My minfree space is at the default of 8% and the man page says this is space held back from normal users. Is that 8% also held back from the df output? I'm thinking that it is since I've seen posts where users have greater than 100% showing in their df output. I was interpreting the 80% number being applied to the numbers shown by df. If its 98% as shown by df (8% minfree + 2% more = 10% of total disk capacity), then that isn't too bad. I think I'm under that most of the time. Would the total disk size start to come into play at some point? 10% of an 8G disk is a whole lot smaller than 10% of a 200G disk. Thanks for the pointer too! Best regards, Randy > Robert's numbers aren't quite right. The point at which performance starts to > suck is 90% full. > > You won't have any _problems_, it's just that performance will degrade, > according to the man page, up to 3x slower. > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com --