HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

e2freefrag — Print the free space fragmentation information for ext2/ext3/ext4 filesystems. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thespacecommandfragmentationcliprintfreee2freefrag
linux

Problem

How to use the e2freefrag command: Print the free space fragmentation information for ext2/ext3/ext4 filesystems. More information: <https://manned.org/e2freefrag>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/e2freefrag

Revisions (0)

No revisions yet.