General discussion

Locked

Drive defragmentation in Linux

By holt ·
I have read that disk drives don't need to be defragmented in Linux. I find this a little difficult to believe. Can anyone explain what makes an ext2 partition immune to fragmentation?

If this is NOT true and I do need to be defragging my drives, can you recommend a utility for doing this?

Thanks in advance.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Drive defragmentation in Linux

by Joe Prochazka In reply to Drive defragmentation in ...

There are defrag utilities for ext2. one can be found here:
http://www.ibiblio.org/pub/Linux/system/filesystems/

I never installed a defrag utility for ext2 though never needed it even with systems where the drive is so full that there is only space to write log files :).

ext2 does an excellect job on its own at keeping files from fragmenting all over the drive. ext2 contains extra code to keep fragmentation reduced even in very
full file systems.

I would say if you feel you need to run a defrag program go ahead they are out there. But personally i feel it would be a waste of time and system resources ext2 does a good enough job on it own.

Collapse -

Drive defragmentation in Linux

by Joe Prochazka In reply to Drive defragmentation in ...

BTW Was just reading through the README in the tar ball for defrag.

ftp://sunsite.unc.edu/pub/Linux/system/filesystems/defrag-0.70.tar.gz

This README contains a more in depth look into how the ext2 file system works interesting place to startreading about how ext2 works.

Collapse -

Drive defragmentation in Linux

by holt In reply to Drive defragmentation in ...

Poster rated this answer

Collapse -

Drive defragmentation in Linux

by holt In reply to Drive defragmentation in ...

This question was closed by the author

Back to Linux Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums