e2scrub_all (8) - Linux Man Pages
e2scrub_all: check all mounted ext filesystems for errors.
e2scrub_all - check all mounted ext filesystems for errors.
DESCRIPTIONSearches 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 corruptions. Corrupt filesystems will be tagged as having errors so that fsck will be invoked before the next mount. If no errors are encountered, 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.
- 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 additional, privileged commands to query the system to determine which e2scrub commands would be executed, it still needs to be run as root.)
- Remove e2scrub snapshots but do not check anything.
- Scrub all ext filesystems even if they are not mounted.
- Print version information and exit.
AUTHORDarrick J. Wong <darrick.wong [at] oracle.com>
COPYRIGHTCopyright ©2018 Oracle. License is GPLv2+. <http://www.gnu.org/licenses/gpl-2.0.html>