Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
possible duplicate of Is e4defrag ready for use? – e-sushi Apr 11 '15 at 2:47
  • 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.