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?

  • 7
    Close-voters: Why would this be off-topic? This is a question about using Ubuntu software. Please see the FAQ. Mar 10, 2013 at 2:42
  • possible duplicate of Is e4defrag ready for use?
    – e-sushi
    Apr 11, 2015 at 2:47

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.
  • 1
    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. Nov 3, 2014 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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