{
    "mode": "man",
    "parameter": "e2scrub_all",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/e2scrub_all/8/json",
    "generated": "2026-06-15T16:42:07Z",
    "sections": {
        "NAME": {
            "content": "e2scruball - check all mounted ext[234] file systems for errors.\n",
            "subsections": []
        },
        "SYNOPSYS": {
            "content": "e2scruball [OPTION]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Searches  the  system for all LVM logical volumes containing an ext2, ext3, or ext4 file sys‐\ntem, and checks them for problems.  The checking is performed by invoking the  e2scrub  tool,\nwhich  will  look  for  corruptions.  Corrupt file systems will be tagged as having errors so\nthat fsck will be invoked before the next mount.  If no errors are encountered,  fstrim  will\nbe called on the file system if it is mounted.  See the e2scrub manual page for more informa‐\ntion about how the checking is performed.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-n",
                    "content": "(Note:  these commands will not actually be executed; however, since e2scruball needs\nto run some additional, privileged commands to query the  system  to  determine  which\ne2scrub commands would be executed, it still needs to be run as root.)\n",
                    "flag": "-n"
                },
                {
                    "name": "-r",
                    "content": "",
                    "flag": "-r"
                },
                {
                    "name": "-A",
                    "content": "",
                    "flag": "-A"
                },
                {
                    "name": "-V",
                    "content": "",
                    "flag": "-V"
                }
            ]
        },
        "SEE ALSO": {
            "content": "e2scrub(8)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Darrick J. Wong <darrick.wong@oracle.com>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright ©2018 Oracle.  License is GPLv2+. <http://www.gnu.org/licenses/gpl-2.0.html>\n\n\n\nE2fsprogs version 1.46.5                    December 2021                                 E2SCRUB(8)",
            "subsections": []
        }
    },
    "summary": "e2scruball - check all mounted ext[234] file systems for errors.",
    "flags": [
        {
            "flag": "-n",
            "long": null,
            "arg": null,
            "description": "(Note: these commands will not actually be executed; however, since e2scruball 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.)"
        },
        {
            "flag": "-r",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-A",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "e2scrub",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/e2scrub/8/json"
        }
    ]
}