On Mon, Oct 31, 2011 at 12:16:35AM +0100, Laurent Grawet wrote:
> Then I would like to know whether "chattr +e" on files and dirs when
> coming from ext3 is enough to trigger online defragmentation in order to
> migrate those files to extent format ?

The "chattr +e" will migrate older files to use the extent format; it
will, however, not defragment the files.  This matters primarily for
very large files which are tens of megabytes or larger.  And if the
file system's free space wasn't fragmented, the difference will be
marginal even in that case.

And if the file system free space is heavily fragmented (say, if you
were running it at > 80-90% full for long periods of time), e4defrag
isn't smart enough to handle this case, so the only real solution to
recover the lost performance is to do a backup, reformat, and restore
operation.

                                                 - Ted



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to