tldr/pages/linux/e2freefrag.md
marchersimon dac4a71077
multiple pages: replace all die.net links (#5528)
Most of the links were replaced by manned.org,
except when there are more up-to-date sources (like `ifup`)
or first-party sources (like `sftp`).
2021-04-16 15:42:14 +01:00

388 B

e2freefrag

Print the free space fragmentation information for ext2/ext3/ext4 filesystems. More information: https://manned.org/e2freefrag.

  • Check how many free blocks are present as contiguous and aligned free space:

e2freefrag {{/dev/sdXN}}

  • Specify chunk size in kilobytes to print how many free chunks are available:

e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}