# phpman > man > e2scrub_all(8)

[E2SCRUB(8)](https://www.chedong.com/phpMan.php/man/E2SCRUB/8/markdown)                             System Manager's Manual                            [E2SCRUB(8)](https://www.chedong.com/phpMan.php/man/E2SCRUB/8/markdown)



## NAME
       e2scrub_all - check all mounted ext[234] file systems for errors.

## SYNOPSYS
       **e2scrub**___**all** **[OPTION]**

## DESCRIPTION
       Searches  the  system for all LVM logical volumes containing an ext2, ext3, or ext4 file sys‐
       tem, and checks them for problems.  The checking is performed by invoking the  **e2scrub**  tool,
       which  will  look  for  corruptions.  Corrupt file systems 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 file system if it is mounted.  See the **e2scrub** manual page for more informa‐
       tion about how the checking is performed.

## OPTIONS
### -n
              (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.)

### -r

### -A

### -V

## SEE ALSO
       [**e2scrub**(8)](https://www.chedong.com/phpMan.php/man/e2scrub/8/markdown)

## AUTHOR
       Darrick J. Wong <<darrick.wong@oracle.com>>

## COPYRIGHT
       Copyright ©2018 Oracle.  License is GPLv2+. <<http://www.gnu.org/licenses/gpl-2.0.html>>



E2fsprogs version 1.46.5                    December 2021                                 [E2SCRUB(8)](https://www.chedong.com/phpMan.php/man/E2SCRUB/8/markdown)
