Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 1997 20:50:18 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Dante Cutrupi <dante@ns1.sminter.com.ar>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Defragmenting disks
Message-ID:  <Pine.BSF.3.96.970917204743.5533F-100000@localhost>
In-Reply-To: <199709170953.MAA05450@ns1.sminter.com.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Sep 1997, Dante Cutrupi wrote:

>  
> Could anybody please tell me how to defragment a disk? Fsck reports 14% 
>  of fragmentation.
> We are using FBSD 2.1.7.1

You don't (very easily), and it's not a major concern.  It's informational
only; fragmentation does not have the bad effects as it does in FAT
filesystems.  Frags will get bad if the disk gets near-full frequently and
the FS code has to scramble to put files on the disk.

If you *really* want to fix it, do a backup, newfs the filesystem, then
restore.  

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970917204743.5533F-100000>