From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 09:28:05 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 65EEC16A4CE for ; Wed, 7 Jan 2004 09:28:05 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B4E43D41 for ; Wed, 7 Jan 2004 09:28:04 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i07HRVI13561; Wed, 7 Jan 2004 12:27:31 -0500 (EST) From: Jerry McAllister Message-Id: <200401071727.i07HRVI13561@clunix.cl.msu.edu> To: freebsd@mazenalzogbi.com (Mazen S. Alzogbi) Date: Wed, 7 Jan 2004 12:27:29 -0500 (EST) In-Reply-To: <1691D8C9A2220149A8AF30209B5D0EB467F550@sc3.shuaacapital.co.ae> from "Mazen S. Alzogbi" at Jan 07, 2004 09:15:41 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Disk defragmentation 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, 07 Jan 2004 17:28:05 -0000 > > Hi, > > How can I defragment my HDD partitions in FreeBSD? You don't need to. The FreeBSD file systems don't have a problem with fragmentation. If you run fsck and see the word fragments, it means something other than in the MS world. But, if you insist on doing it, your best bet would be to use dump(8) to make a complete backup of the filesystem. Then re-newfs(8) it and then restore(8) the backup in to it. ////jerry > > Cheers, > > Mazen >