dumpe2fs
Quick Reference
Command Name:
dumpe2fs
Category:
system management
Platform:
Linux
Basic Usage:
Common Use Cases
- 1
Filesystem inspection
Examine ext2/3/4 filesystem metadata and structure
- 2
Disk troubleshooting
Diagnose issues with filesystem structure or corruption
- 3
Superblock recovery
Identify backup superblocks for filesystem recovery
- 4
Filesystem tuning
Analyze filesystem parameters before making adjustments with tune2fs
Syntax
dumpe2fs [options] device
Options
Option | Description |
---|---|
-b |
Print bad blocks in the filesystem |
-f |
Force dumpe2fs to display a filesystem even with unknown features |
-h |
Only display the superblock information, not all the block group information |
-i |
Display the filesystem data from an image file created by e2image |
-o |
Specify filesystem options |
-x |
Print the detailed group information in hexadecimal format |
Examples
How to Use These Examples
The examples below show common ways to use the dumpe2fs
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.