e2scrub_all
E2SCRUB(8) System Manager's Manual E2SCRUB(8)
NAME
e2scrub_all - check all mounted ext[234] filesystems for errors.
SYNOPSYS
e2scrub_all [OPTION]
DESCRIPTION
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 e2scrub tool, which will look for corrup-
tions. Corrupt filesystems will be tagged as having errors so that
fsck will be invoked before the next mount. If no errors are encoun-
tered, fstrim will be called on the filesystem if it is mounted. See
the e2scrub manual page for more information about how the checking is
performed.
OPTIONS
-n Print what commands e2scrub_all would execute to initiate the
e2scrub operations. (Note: these commands will not actually be
executed; however, since e2scrub_all needs to run some addi-
tional, privileged commands to query the system to determine
which e2scrub commands would be executed, it still needs to be
run as root.)
-r Remove e2scrub snapshots but do not check anything.
-A Scrub all ext[234] filesystems even if they are not mounted.
-V Print version information and exit.
SEE ALSO
e2scrub(8)
AUTHOR
Darrick J. Wong <darrick.wong@oracle.com>
COPYRIGHT
Copyright (C)2018 Oracle. License is GPLv2+. <http://www.gnu.org/li-
censes/gpl-2.0.html>
E2fsprogs version 1.45.5 January 2020 E2SCRUB(8)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2024
Hurricane Electric.
All Rights Reserved.