5

If you ever have to defragment a hard drive with an ext4 filesystem: Good luck, it's going to take a while

Comments
  • 1
    I've never tried it on Linux before. I'm not sure how much gain it is going to result in
  • 1
    @asgs I once tried on my laptop. 400GB took 2.5 hours and all it found was 3 files :D
  • 1
    Isn't ext4 supposed to auto-defrag?
  • 1
    @Fast-Nop no, it just writes stuff a bit more intelligently than MS did with NTFS and FAT.
    However, when a filesystem becomes full, fragmentation is going to become a real bitch really fast
  • 0
    you don't need to defragment ext{3,4} maybe same for 1 and 2. there are a lot of sources about this topic

    https://ols.fedoraproject.org/OLS/...

    https://superuser.com/questions/...

    i would be interested more into your case, maybe you have rare case when that hapenned.

    please provide more information

    also there may be more cases when fs gets slow, for example both free space (as you mentioned) and utilization

    a bit more differently is quite a bold statement
  • 0
    Joke's on you, I use an SSD.
  • 0
    @cst1992 Jokes on you, I use an SSD and an HDD
Add Comment