1DUMPE2FS(8) System Manager's Manual DUMPE2FS(8)
2
3
4
6 dumpe2fs - dump ext2/ext3/ext4 file system information
7
9 dumpe2fs [ -bfghixV ] [ -o superblock=superblock ] [ -o block‐
10 size=blocksize ] device
11
13 dumpe2fs prints the super block and blocks group information for the
14 file system present on device.
15
16 Note: When used with a mounted file system, the printed information may
17 be old or inconsistent.
18
20 -b print the blocks which are reserved as bad in the file system.
21
22 -o superblock=superblock
23 use the block superblock when examining the file system. This
24 option is not usually needed except by a file system wizard who
25 is examining the remains of a very badly corrupted file system.
26
27 -o blocksize=blocksize
28 use blocks of blocksize bytes when examining the file system.
29 This option is not usually needed except by a file system wizard
30 who is examining the remains of a very badly corrupted file sys‐
31 tem.
32
33 -f force dumpe2fs to display a file system even though it may have
34 some file system feature flags which dumpe2fs may not understand
35 (and which can cause some of dumpe2fs's display to be suspect).
36
37 -g display the group descriptor information in a machine readable
38 colon-separated value format. The fields displayed are the
39 group number; the number of the first block in the group; the
40 superblock location (or -1 if not present); the range of blocks
41 used by the group descriptors (or -1 if not present); the block
42 bitmap location; the inode bitmap location; and the range of
43 blocks used by the inode table.
44
45 -h only display the superblock information and not any of the block
46 group descriptor detail information.
47
48 -i display the file system data from an image file created by e2im‐
49 age, using device as the pathname to the image file.
50
51 -m If the mmp feature is enabled on the file system, check if de‐
52 vice is in use by another node, see e2mmpstatus(8) for full de‐
53 tails. If used together with the -i option, only the MMP block
54 information is printed.
55
56 -x print the detailed group information block numbers in hexadeci‐
57 mal format
58
59 -V print the version number of dumpe2fs and exit.
60
62 dumpe2fs exits with a return code of 0 if the operation completed with‐
63 out errors. It will exit with a non-zero return code if there are any
64 errors, such as problems reading a valid superblock, bad checksums, or
65 if the device is in use by another node and -m is specified.
66
68 You may need to know the physical file system structure to understand
69 the output.
70
72 dumpe2fs was written by Remy Card <Remy.Card@linux.org>. It is cur‐
73 rently being maintained by Theodore Ts'o <tytso@alum.mit.edu>.
74
76 dumpe2fs is part of the e2fsprogs package and is available from
77 http://e2fsprogs.sourceforge.net.
78
80 e2fsck(8), e2mmpstatus(8), mke2fs(8), tune2fs(8). ext4(5)
81
82
83
84
85E2fsprogs version 1.46.5 December 2021 DUMPE2FS(8)