94 lines
2.6 KiB
HTML
94 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of E2SCRUB</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>E2SCRUB</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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
e2scrub_all - check all mounted ext[234] filesystems for errors.
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSYS</H2>
|
|
|
|
<B>e2scrub_all [OPTION]</B>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
Searches the system for all LVM logical volumes containing an ext2, ext3, or
|
|
ext4 file system, and checks them for problems.
|
|
The checking is performed by invoking the
|
|
<B>e2scrub</B>
|
|
|
|
tool, which will look for corruptions.
|
|
Corrupt filesystems will be tagged as having errors so that fsck will be
|
|
invoked before the next mount.
|
|
If no errors are encountered,
|
|
<B>fstrim</B>
|
|
|
|
will be called on the filesystem if it is mounted.
|
|
See the
|
|
<B>e2scrub</B>
|
|
|
|
manual page for more information about how the checking is performed.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-n</B><DD>
|
|
Print what commands
|
|
<B>e2scrub_all</B>
|
|
|
|
would execute to initiate the e2scrub operations.
|
|
(Note: these commands will not actually be executed; however, since
|
|
<B>e2scrub_all</B>
|
|
|
|
needs to run some additional, privileged commands to query the
|
|
system to determine which
|
|
<B>e2scrub</B>
|
|
|
|
commands would be executed, it still needs to be run as root.)
|
|
<DT id="2"><B>-r</B><DD>
|
|
Remove e2scrub snapshots but do not check anything.
|
|
<DT id="3"><B>-A</B><DD>
|
|
Scrub all ext[234] filesystems even if they are not mounted.
|
|
<DT id="4"><B>-V</B><DD>
|
|
Print version information and exit.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+e2scrub">e2scrub</A></B>(8)
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Darrick J. Wong <<A HREF="mailto:darrick.wong@oracle.com">darrick.wong@oracle.com</A>>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright ©2018 Oracle. License is GPLv2+. <<A HREF="http://www.gnu.org/licenses/gpl-2.0.html">http://www.gnu.org/licenses/gpl-2.0.html</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSYS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
<DT id="11"><A HREF="#lbAH">COPYRIGHT</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>
|