know the dumpe2fs command with its simple examples

  • About dumpe2fs : dump ext2/ext3/ext4 filesystem information
  • It comes from “e2fsprogs-1.41.12” package.


1. To dump the file system information about a device

$ dumpe2fs /dev/sda1

2. To print the blocks which are reserved as bad in the filesystem

$ dumpe2fs -b /dev/sda2

3. To use  the block superblock when examining the filesystem

$ dumpe2fs -o superblock=superblock /dev/sda1

4. To use blocks of blocksize bytes when examining the filesystem.

$ dumpe2fs -o blocksize=blocksize /dev/sda1

5. To force dumpe2fs to display a filesystem

$ dumpe2fs -f /dev/sda1

6. To only display the superblock information

$ dumpe2fs -h

7. To display the filesystem data from an image file created by e2image

$ dumpe2fs -i

8. To print the detailed group information block numbers in hexadecimal format

$ dumpe2fs -x

9. To get the version info

$ dumpe2fs -V

Related Commands: e2fsck, mke2fs, tune2fs 

Leave a Reply

Your email address will not be published. Required fields are marked *