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

Re: Why ext3 doesn't need defragmentation ?



On Nov 17, 5:00 am, Bruno Costacurta <pubmb....@pt.lu> wrote:
> Hello,
> it appears that ext3 doesn't need a real defragmentation operation (by 'real'
> I mean a specific tool that need to be run sometimes related to disk usage).
>
> Is it correct ?

Right.

> If so how it works ?

It shoots for blocks most able to handle the entire data chunk instead
of shooting for the first available chunk no matter what like every
Microsoft filesystem does.  You'd think MS would bring their
filesystem design out of the 1970s already...

> Related to ext3 standard setup (see tune2fs) the disk is check by default
> every 30 boots or 30 days. Is this operation includeing some defragmentation ?

No.  Defragmenting filesystems that don't suffer from it appreciably
to begin with is a great way to needlessly endanger data integrity
with no benefit.



Reply to: