Date: Tue, 1 Feb 2005 14:46:41 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Jim Pazarena <fquest@ccstores.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: disk fragmentation Message-ID: <20050201204641.GA25470@dan.emsphone.com> In-Reply-To: <41FFDECF.3060901@ccstores.com> References: <41FFDECF.3060901@ccstores.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 01), Jim Pazarena said: > during the boot sequence, I routinely see a "% fragmentation > message". > > It was my understanding that fragmentation doesn't occur on a Unix > (er FreeBSD) box.. > > It seems that there is a concept of fragmentation from the above > message, so, is there an "un-fragment" utility? In the ffs filesystem, a file that's smaller than the default 16k blocksize (or the last part of a file that doesn't completely fit into a block) doesn't have to waste an entire block. Blocks can be split into eight 2k fragments and small files are put in them. The "% fragmentation" is just the percentage of fragment blocks vs the total number blocks. It's more an indicator of how many small files you have in the system than anything else. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050201204641.GA25470>