Defragment HDD

Dan Nelson dnelson at allantgroup.com
Fri Jul 25 14:34:14 PDT 2003


In the last episode (Jul 25), Jez Hancock said:
> On Thu, Jul 24, 2003 at 03:12:42PM -0500, Dan Nelson wrote:
> > I think he was joking :)  The FFS filesystem reserves 8% of the
> > disk space so that it can allocate contiguous blocks for files.  In
> > general, you don't have to worry about file fragmentation.  There
> > are no tools for optimizing the layout of a disk (putting files in
> > a directory next to each other on disk, for example) like SpeedDisk
> > does, though.
>
> Is this why occasionally a df call shows that a filesystem is over
> 100% full out of curiousity?

Yep.  When that happens, users cannot write anything until root removes
enough files to lower the freespace back below 100%.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list