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
dumpe2fs 1.40.2 (12-Jul-2007)
Filesystem volume name:
Last mounted on:
Filesystem UUID: ec7a16c5-c680-45ac-9f1b-856ab960d759
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: 997472
Block count: 1994060
Reserved block count: 99703
Free blocks: 722777
Free inodes: 807799
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 486
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16352
Inode blocks per group: 511
Filesystem created: Thu Oct 25 18:29:45 2007
Last mount time: Thu Mar 6 13:02:32 2008
Last write time: Thu Mar 6 13:02:32 2008
Mount count: 4
Maximum mount count: 34
Last checked: Thu Feb 14 15:10:27 2008
Check interval: 15552000 (6 months)
Next check after: Tue Aug 12 16:10:27 2008
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
First orphan inode: 50414
Default directory hash: tea
Directory Hash Seed: 836ca201-5370-43e7-a6ce-1606f2a7cd37
Journal backup: inode blocks
Incoming search terms:
- dumpe2fs example
- ubuntu file system
- ubuntu filesystem info
- ubuntu file system information
- ubuntu check file system
- how to check filesystem in ubuntu
- dumpe2fs examples
- dumpe2fs output
- dumpe2fs -h