Files
cheatsheet-tldr/tldr/linux/e2freefrag
2025-06-29 00:23:20 +00:00

18 lines
482 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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 [c]hunk size in kilobytes to print how many free chunks are available:
`e2freefrag -c {{chunk_size_in_kb}} {{/dev/sdXN}}`