1E2SCRUB(8) System Manager's Manual E2SCRUB(8)
2
3
4
6 e2scrub_all - check all mounted ext[234] file systems for errors.
7
9 e2scrub_all [OPTION]
10
12 Searches the system for all LVM logical volumes containing an ext2,
13 ext3, or ext4 file system, and checks them for problems. The checking
14 is performed by invoking the e2scrub tool, which will look for corrup‐
15 tions. Corrupt file systems will be tagged as having errors so that
16 fsck will be invoked before the next mount. If no errors are encoun‐
17 tered, fstrim will be called on the file system if it is mounted. See
18 the e2scrub manual page for more information about how the checking is
19 performed.
20
22 -n Print what commands e2scrub_all would execute to initiate the
23 e2scrub operations. (Note: these commands will not actually be
24 executed; however, since e2scrub_all needs to run some addi‐
25 tional, privileged commands to query the system to determine
26 which e2scrub commands would be executed, it still needs to be
27 run as root.)
28
29 -r Remove e2scrub snapshots but do not check anything.
30
31 -A Scrub all ext[234] file systems even if they are not mounted.
32
33 -V Print version information and exit.
34
36 e2scrub(8)
37
39 Darrick J. Wong <darrick.wong@oracle.com>
40
42 Copyright ©2018 Oracle. License is GPLv2+. <http://www.gnu.org/li‐
43 censes/gpl-2.0.html>
44
45
46
47E2fsprogs version 1.47.0 February 2023 E2SCRUB(8)