dumpe2fs

From RaySoft

dumpe2fs prints the super block and blocks group information for the filesystem present on device.[1]

Documentation

Syntax

dumpe2fs [PARAMETER ...] [DEVICE]

Parameters

-b
Print the blocks which are reserved as bad in the filesystem.
-h
Only display the superblock information and not any of the block group descriptor detail information.

Examples

Backup the superblock
dumpe2fs '/dev/sda1' | grep 'Backup superblock'

Output:

dumpe2fs 1.41.9 (22-Aug-2009)
  Backup superblock at 8193, Group descriptors at 8194-8194

References

  1. man 8 'dumpe2fs'