If you want to use dumpe2fs in ubuntu you need to install e2fsprogs package.
Install e2fsprogs package using the following command
sudo aptitude install e2fsprogs
This will complete the installation.
Now if you want to know more about your file system use the following command
dumpe2fs [ -bfhixV ] [ -ob superblock ] [ -oB blocksize ] device
Available option details
-b - print the blocks which are reserved as bad in the filesystem.
-ob superblock - use the block superblock when examining the filesystem. This option is not usually needed except by a filesystem wizard who is examining he remains of a very badly corrupted filesystem.
-oB blocksize - use blocks of blocksize bytes when examining the filesystem. This option is not usually needed except by a filesystem wizard who is examining the remains of a very badly corrupted filesystem.
-f - force dumpe2fs to display a filesystem even though it may have some filesystem feature flags which dumpe2fs may not understand (and which can cause some of dumpe2fsâs display to be suspect).
-h - only display the superblock information and not any of the block group descriptor detail information.
-i - display the filesystem data from an image file created by e2image, using device as the pathname to the image file.
-x - print the detailed group information block numbers in hexadecimal format
-V - print the version number of dumpe2fs and exit.
dumpe2fs /dev/sda1 | more
root@miko:/home/miko# dumpe2fs /dev/sda1 | more dumpe2fs 1.40.2 (12-Jul-2007) Filesystem volume name: <none> Last mounted on: <not available> Filesystem UUID: 38c93a28-02da-4059-9645-a19d7da29178 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file Filesystem flags: signed directory hash Default mount options: (none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 18776064 Block count: 37551929 Reserved block count: 1877596 Free blocks: 32847806 Free inodes: 18614117 First block: 0 Block size: 4096 Fragment size: 4096 Reserved GDT blocks: 1015 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 16384 Inode blocks per group: 512 Filesystem created: Fri Feb 29 16:01:40 2008 Last mount time: Thu Mar 20 14:15:38 2008 Last write time: Thu Mar 20 14:15:38 2008