man-pages/man8/dumpe2fs.8.html
2021-03-31 01:06:50 +01:00

198 lines
4.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DUMPE2FS</TITLE>
</HEAD><BODY>
<H1>DUMPE2FS</H1>
Section: Maintenance Commands (8)<BR>Updated: January 2020<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
dumpe2fs - dump ext2/ext3/ext4 filesystem information
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>dumpe2fs</B>
[
<B>-bfghixV</B>
]
[
<B>-o superblock=</B><I>superblock</I>
]
[
<B>-o blocksize=</B><I>blocksize</I>
]
<I>device</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>dumpe2fs</B>
prints the super block and blocks group information for the filesystem
present on
<I>device.</I>
<P>
<B>Note:</B>
When used with a mounted filesystem, the printed
information may be old or inconsistent.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-b</B>
<DD>
print the blocks which are reserved as bad in the filesystem.
<DT id="2"><B>-o superblock=</B><I>superblock</I>
<DD>
use the block
<I>superblock</I>
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.
<DT id="3"><B>-o blocksize=</B><I>blocksize</I>
<DD>
use blocks of
<I>blocksize</I>
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.
<DT id="4"><B>-f</B>
<DD>
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).
<DT id="5"><B>-g</B>
<DD>
display the group descriptor information in a machine readable colon-separated
value format. The fields displayed are the group number; the number of the
first block in the group; the superblock location (or -1 if not present); the
range of blocks used by the group descriptors (or -1 if not present); the block
bitmap location; the inode bitmap location; and the range of blocks used by the
inode table.
<DT id="6"><B>-h</B>
<DD>
only display the superblock information and not any of the block
group descriptor detail information.
<DT id="7"><B>-i</B>
<DD>
display the filesystem data from an image file created by
<B>e2image</B>,
using
<I>device</I>
as the pathname to the image file.
<DT id="8"><B>-m</B>
<DD>
If the
<B>mmp</B>
feature is enabled on the filesystem, check if
<I>device</I>
is in use by another node, see
<B><A HREF="/cgi-bin/man/man2html?8+e2mmpstatus">e2mmpstatus</A></B>(8)
for full details. If used together with the
<B>-i</B>
option, only the MMP block information is printed.
<DT id="9"><B>-x</B>
<DD>
print the detailed group information block numbers in hexadecimal format
<DT id="10"><B>-V</B>
<DD>
print the version number of
<B>dumpe2fs</B>
and exit.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>EXIT CODE</H2>
<B>dumpe2fs</B>
exits with a return code of 0 if the operation completed without errors.
It will exit with a non-zero return code if there are any errors, such
as problems reading a valid superblock, bad checksums, or if the device
is in use by another node and
<B>-m</B>
is specified.
<A NAME="lbAG">&nbsp;</A>
<H2>BUGS</H2>
You may need to know the physical filesystem structure to understand the
output.
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
<B>dumpe2fs</B>
was written by Remy Card &lt;<A HREF="mailto:Remy.Card@linux.org">Remy.Card@linux.org</A>&gt;. It is currently being
maintained by Theodore Ts'o &lt;<A HREF="mailto:tytso@alum.mit.edu">tytso@alum.mit.edu</A>&gt;.
<A NAME="lbAI">&nbsp;</A>
<H2>AVAILABILITY</H2>
<B>dumpe2fs</B>
is part of the e2fsprogs package and is available from
<A HREF="http://e2fsprogs.sourceforge.net.">http://e2fsprogs.sourceforge.net.</A>
<A NAME="lbAJ">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+e2fsck">e2fsck</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+e2mmpstatus">e2mmpstatus</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+mke2fs">mke2fs</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+tune2fs">tune2fs</A></B>(8).
<B><A HREF="/cgi-bin/man/man2html?5+ext4">ext4</A></B>(5)
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="15"><A HREF="#lbAF">EXIT CODE</A><DD>
<DT id="16"><A HREF="#lbAG">BUGS</A><DD>
<DT id="17"><A HREF="#lbAH">AUTHOR</A><DD>
<DT id="18"><A HREF="#lbAI">AVAILABILITY</A><DD>
<DT id="19"><A HREF="#lbAJ">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:12 GMT, March 31, 2021
</BODY>
</HTML>