From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 00:29:01 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 B79CE16A4D0 for ; Wed, 9 Jun 2004 00:29:01 +0000 (GMT) Received: from msr37.hinet.net (msr37.hinet.net [168.95.4.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id D61CD43D1F for ; Wed, 9 Jun 2004 00:29:00 +0000 (GMT) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-69.dynamic.hinet.net [61.227.219.69]) by msr37.hinet.net (8.9.3/8.9.3) with SMTP id IAA20998 for ; Wed, 9 Jun 2004 08:28:47 +0800 (CST) Date: Wed, 9 Jun 2004 07:05:43 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040609070543.470a7e75.y2kbug@ms25.hinet.net> In-Reply-To: <200406081436.i58Eaa704784@clunix.cl.msu.edu> References: <1086674510.1106.4.camel@solid.solisixoffice.com> <200406081436.i58Eaa704784@clunix.cl.msu.edu> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 00:29:01 -0000 > 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": bob@sonic:~> df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s2a 248M 68M 160M 30% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s2g 2.4G 281M 1.9G 13% /home /dev/ad0s2e 248M 1.2M 227M 1% /tmp /dev/ad0s2f 8.7G 2.4G 5.6G 30% /usr /dev/ad0s2d 248M 17M 211M 8% /var The column labeled "Capacity" tells you the percentage of space being consumed - over 80% would be bad. Note that the "devfs" uses 100% (on FBSD 5.x, it doesn't exist on 4.x) - that's no problem, it's not a partition and it will always be 100%. regards, Robert