From owner-freebsd-questions@FreeBSD.ORG Thu Jul 28 19:46:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 09CE016A41F for ; Thu, 28 Jul 2005 19:46:58 +0000 (GMT) (envelope-from bob89@eng.ufl.edu) Received: from scorpion.eng.ufl.edu (scorpion.eng.ufl.edu [128.227.116.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 6C06B43D45 for ; Thu, 28 Jul 2005 19:46:57 +0000 (GMT) (envelope-from bob89@eng.ufl.edu) Received: (qmail 13132 invoked from network); 28 Jul 2005 19:46:56 -0000 Received: from scanner.engnet.ufl.edu (128.227.152.221) by scorpion.eng.ufl.edu with SMTP; 28 Jul 2005 19:46:56 -0000 From: Bob Johnson Organization: UF College of Engineering To: Lowell Gilbert Date: Thu, 28 Jul 2005 15:46:55 -0400 User-Agent: KMail/1.7.2 References: <200507281157.42688.bob89@eng.ufl.edu> <44ll3qu4v3.fsf@be-well.ilk.org> In-Reply-To: <44ll3qu4v3.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507281546.56214.bob89@eng.ufl.edu> Cc: Victor Semionov , freebsd-questions@freebsd.org Subject: Re: defragmentation in FreeBSD 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 19:46:58 -0000 On Thursday 28 July 2005 03:07 pm, Lowell Gilbert wrote: > Bob Johnson writes: > > From: Victor Semionov [...] > > > Why is it unnecessary to defragment UFS? > > > > In normal use, files never become fragmented enough to affect > > performance. In a (loose) sense, files are intentionally fragmented in a > > controlled way so that fragmentation doesn't cause problems. If you run > > fsck on a partition, you will typically see fragmentation levels of less > > than one percent. > > Careful, there; "fragmentation" on a UFS is measuring a completely > different thing than the same term applied to a Microsoft filesystem. > For UFS, it refers to non-contiguous free blocks (fragments, > actually), as opposed to the Microsoft terminology, where it refers to > non-contiguous blocks within the same file. > > Everything you are saying is correct, but it will confuse people who > don't realize the difference. Yeah, I was trying to keep a long response from getting even longer. And I didn't really know what fsck is measuring when it reports fragmentation, so I got lazy and glossed over it instead of digging up the information. Thanks for keeping me honest, - Bob