{
    "content": [
        {
            "type": "text",
            "text": "# E2SCRUB (man)\n\n## NAME\n\ne2scrub - check the contents of a mounted ext[234] file system\n\n## DESCRIPTION\n\ne2scrub  attempts to check (but not repair) all metadata in a mounted ext[234] file system if\nthe file system resides on an LVM logical volume.  The block device of the LVM logical volume\ncan also be passed in.\n\n## Sections\n\n- **NAME**\n- **SYNOPSYS** (1 subsections)\n- **DESCRIPTION**\n- **OPTIONS** (4 subsections)\n- **EXIT CODE**\n- **SEE ALSO**\n- **AUTHOR**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "E2SCRUB",
        "section": "",
        "mode": "man",
        "summary": "e2scrub - check the contents of a mounted ext[234] file system",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": "mands will not actually be executed; however, since e2scrub needs to run some commands to query the system to determine what commands would be executed, it still needs to be run as root.)"
            },
            {
                "flag": "-r",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "e2fsck",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/e2fsck/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSYS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "e2scrub [OPTION] MOUNTPOINT | DEVICE",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-n",
                        "lines": 4,
                        "flag": "-n"
                    },
                    {
                        "name": "-r",
                        "lines": 1,
                        "flag": "-r"
                    },
                    {
                        "name": "-t",
                        "lines": 1,
                        "flag": "-t"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    }
                ]
            },
            {
                "name": "EXIT CODE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "e2scrub - check the contents of a mounted ext[234] file system\n",
                "subsections": []
            },
            "SYNOPSYS": {
                "content": "",
                "subsections": [
                    {
                        "name": "e2scrub [OPTION] MOUNTPOINT | DEVICE",
                        "content": ""
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "e2scrub  attempts to check (but not repair) all metadata in a mounted ext[234] file system if\nthe file system resides on an LVM logical volume.  The block device of the LVM logical volume\ncan also be passed in.\n\nThis  program  snapshots  the volume and runs a file system check on the snapshot to look for\ncorruption errors.  The LVM volume group must have at least 256MiB of  unallocated  space  to\ndedicate  to  the snapshot or the logical volume will be skipped.  The snapshot will be named\nlvname.e2scrub and udev will not create symbolic links to it under /dev/disk.  Every  attempt\nwill be made to remove the snapshots prior to running e2scrub, but in a dire situation it may\nbe necessary to remove the snapshot manually.\n\nIf no errors are found, fstrim can be called on the file system if it is mounted.  If  errors\nare  found, the file system will be marked as having errors.  The file system should be taken\noffline and e2fsck run as soon as possible, because e2scrub does not fix corruptions.  If the\nfile system is not repaired, e2fsck will be run before the next mount.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-n",
                        "content": "mands will not actually be executed; however, since e2scrub needs to run some commands\nto query the system to determine what commands would be executed, it still needs to be\nrun as root.)\n",
                        "flag": "-n"
                    },
                    {
                        "name": "-r",
                        "content": "",
                        "flag": "-r"
                    },
                    {
                        "name": "-t",
                        "content": "",
                        "flag": "-t"
                    },
                    {
                        "name": "-V",
                        "content": "",
                        "flag": "-V"
                    }
                ]
            },
            "EXIT CODE": {
                "content": "The exit codes are the same as in e2fsck(8)\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "e2fsck(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": []
            }
        }
    }
}