| 1 |
.TH E2SCRUB 8 "March 2025" "E2fsprogs version 1.47.4" |
| 2 |
.SH NAME |
| 3 |
e2scrub_all - check all mounted ext[234] file systems for errors. |
| 4 |
.SH SYNOPSIS |
| 5 |
.B |
| 6 |
e2scrub_all [OPTION] |
| 7 |
.SH DESCRIPTION |
| 8 |
Searches the system for all LVM logical volumes containing an ext2, ext3, or |
| 9 |
ext4 file system, and checks them for problems. |
| 10 |
The checking is performed by invoking the |
| 11 |
.B e2scrub |
| 12 |
tool, which will look for corruptions. |
| 13 |
Corrupt file systems will be tagged as having errors so that fsck will be |
| 14 |
invoked before the next mount. |
| 15 |
If no errors are encountered, |
| 16 |
.B fstrim |
| 17 |
will be called on the file system if it is mounted. |
| 18 |
See the |
| 19 |
.B e2scrub |
| 20 |
manual page for more information about how the checking is performed. |
| 21 |
.SH OPTIONS |
| 22 |
.TP |
| 23 |
\fB-n\fR |
| 24 |
Print what commands |
| 25 |
.B e2scrub_all |
| 26 |
would execute to initiate the e2scrub operations. |
| 27 |
(Note: these commands will not actually be executed; however, since |
| 28 |
.B e2scrub_all |
| 29 |
needs to run some additional, privileged commands to query the |
| 30 |
system to determine which |
| 31 |
.B e2scrub |
| 32 |
commands would be executed, it still needs to be run as root.) |
| 33 |
.TP |
| 34 |
\fB-r\fR |
| 35 |
Remove e2scrub snapshots but do not check anything. |
| 36 |
.TP |
| 37 |
\fB-A\fR |
| 38 |
Scrub all ext[234] file systems even if they are not mounted. |
| 39 |
.TP |
| 40 |
\fB-V\fR |
| 41 |
Print version information and exit. |
| 42 |
.SH SEE ALSO |
| 43 |
.BR e2scrub "(8)" |
| 44 |
.SH AUTHOR |
| 45 |
Darrick J. Wong <[email protected]> |
| 46 |
.SH COPYRIGHT |
| 47 |
Copyright \[co]2018 Oracle. License is GPLv2+. <http://www.gnu.org/licenses/gpl-2.0.html> |