tldr/pages/linux/e2freefrag.md

13 lines
397 B
Markdown
Raw Normal View History

2020-10-06 17:12:23 +01:00
# e2freefrag
> Print the free space fragmentation information for ext2/ext3/ext4 filesystems.
> More information: <https://linux.die.net/man/8/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}}`