xfs_scrub_all(8)           System Manager's Manual          xfs_scrub_all(8)

NAME         top

       xfs_scrub_all - scrub all mounted XFS filesystems

SYNOPSIS         top

       xfs_scrub_all [ -hV ]

DESCRIPTION         top

       xfs_scrub_all attempts to read and check all the metadata on all
       mounted XFS filesystems.  The online scrub is performed via the
       xfs_scrub tool, either by running it directly or by using systemd to
       start it in a restricted fashion.  Mounted filesystems are mapped to
       physical storage devices so that scrub operations can be run in
       parallel so long as no two scrubbers access the same device

OPTIONS         top

       -h     Display help.

       -V     Prints the version number and exits.

EXIT CODE         top

       The exit code returned by xfs_scrub_all is the sum of the following
            0    - No errors
            4    - File system errors left uncorrected
            8    - Operational error
            16   - Usage or syntax error

       These are the same error codes returned by xfs_scrub.

SEE ALSO         top


COLOPHON         top

       This page is part of the xfsprogs (utilities for XFS filesystems)
       project.  Information about the project can be found at 
       ⟨⟩.  If you have a bug report for this manual page,
       send it to  This page was obtained from
       the project's upstream Git repository
       ⟨⟩ on
       2020-02-08.  (At that time, the date of the most recent commit that
       was found in the repository was 2019-12-20.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to