[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't Defrag Ext3 File System



On Sun, May 22, 2005 at 03:31:20AM +0100, Carlos Rodrigues wrote:
> Leonard Chatagnier wrote:
> >Ok, I get your message, but for my gratification, insight and knowledge
> >of Linux how do I get the programs to run without error and not distroy
> >my harddisk?  I'll  run e2fsck to check on defragmentation but would still
> >like to know how to run the defrag program.
> >Thanks for your replys and consideration of my request,
> 
> e2defrag can't defrag your filesystem because it doesn't understand some 
> of the options set on it. The probable reason is the "dir_index" flag 
> (hashed directories for fast access when they have lots of files), but I 
> don't even know if it could handle it even without it (because of the 
> journal).
> 
> Bottom line is: if you could force it to do its job, it would most 
> likely trash your filesystem.

# apt-cache show defrag | less

Package: defrag
[..]
Description: ext2, minix and xiafs filesystem defragmenter
             ^^^^
Wouldn't risk it on ext3. If it shouldn't be used on ext2 it should be
removed.

-- 
Chris.
======



Reply to: