Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My file system partition is 90GB, and now 75% of the space is free after removing 53GB of recovered files using photorec from my home directory. I just want to know, is it safe to defrag the whole file system using e4defrag, or are there any extra precautions that I should be aware of?

share|improve this question
Close-voters: Why would this be off-topic? This is a question about using Ubuntu software. Please see the FAQ. –  Eliah Kagan Mar 10 '13 at 2:42

1 Answer 1

  • It is safe to use. Otherwise it would not be available or have a big red warning when trying to use it.
  • Here is a good document on ext4 and defragging.
  • Do not expect to see dramatic benefits since ext4 is made to work without the need for defragmentation.
share|improve this answer
I've just extended my raid, and used e2resize to extend the file system too. In such cases it could be useful to run a defrag. –  Agoston Horvath Nov 3 '14 at 9:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.