Defragment HDD

David Kelly dkelly at HiWAAY.net
Thu Jul 24 13:38:09 PDT 2003


On Thursday 24 July 2003 02:45 pm, Peter Rosa wrote:
> Hi all,
>
> is it possible, and by using what program, to defragment
> HDDs under FreeBSD ?

Why are you worried about it? Professional-grade filesystems such as UFS 
do not require or benefit the way Microsoft-grade filesystems do. This 
is a common problem in that people can not imagine that the Microsoft 
way is any but the only way.

Otherwise such a tool would be integrated in the default periodic system 
utilities such as launched from /etc/periodic/. SGI did include such a 
filesystem maintenance tool in Irix launched nightly by cron. Forgot if 
it was for EFS or XFS.

The boot time "fragmentation" message speaks of something else, due to 
the filesystem being nearly full.

If you really must "defragment" then the only option is dump(8), 
newfs(8), and restore(8).

-- 
David Kelly N4HHE, dkelly at hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



More information about the freebsd-questions mailing list