1 .TH E2SCRUB 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
3 e2scrub - check the contents of a mounted ext[234] file system
6 e2scrub [OPTION] MOUNTPOINT | DEVICE
9 attempts to check (but not repair) all metadata in a mounted ext[234]
10 file system if the file system resides on an LVM logical volume.
11 The block device of the LVM logical volume can also be passed in.
13 This program snapshots the volume and runs a file system check on the snapshot
14 to look for corruption errors.
15 The LVM volume group must have at least 256MiB of unallocated space to
16 dedicate to the snapshot or the logical volume will be skipped.
17 The snapshot will be named
21 will not create symbolic links to it under
23 Every attempt will be made to remove the snapshots prior to running
25 but in a dire situation it may be necessary to remove the snapshot manually.
27 If no errors are found,
29 can be called on the file system if it is mounted.
30 If errors are found, the file system will be marked as having errors.
31 The file system should be taken offline and
33 run as soon as possible, because
35 does not fix corruptions.
36 If the file system is not repaired,
38 will be run before the next mount.
44 would execute to check the file system. (Note: the commands will not
45 actually be executed; however, since
47 needs to run some commands to query the system to determine what
48 commands would be executed, it still needs to be run as root.)
51 Remove the e2scrub snapshot and exit without checking anything.
57 on the mounted file system if no errors are found.
60 Print version information and exit.
62 The exit codes are the same as in
67 Darrick J. Wong <darrick.wong@oracle.com>
69 Copyright \[co]2018 Oracle. License is GPLv2+. <http://www.gnu.org/licenses/gpl-2.0.html>