{
    "content": [
        {
            "type": "text",
            "text": "# era_dump(8) (man)\n\n**Summary:** eradump - dump era metadata from device or file to standard output.\n\n**Synopsis:** eradump [options] {device|file}\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -h | --help | — | Print help and exit. |\n| -V | --version | — | Print version information and exit. |\n| — | --repair | — | Repair the metadata whilst dumping it. |\n| — | --logical | — | Fold any unprocessed write sets into the final era array. You probably want to do this if you're intending to process th |\n| -o | — | — |  |\n\n## Examples\n\n- `Dumps era metadata on logical volume /dev/vg/metadata to standard output in XML format:`\n- `$ eradump /dev/vg/metadata`\n\n## See Also\n\n- eracheck(8)\n- erarestore(8)\n- erainvalidate(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (7 lines)\n- **OPTIONS** (1 lines) — 5 subsections\n  - -h, --help (2 lines)\n  - -V, --version (2 lines)\n  - --repair (2 lines)\n  - --logical (5 lines)\n  - -o (1 lines)\n- **EXAMPLES** (5 lines)\n- **DIAGNOSTICS** (2 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\neradump - dump era metadata from device or file to standard output.\n\n### SYNOPSIS\n\neradump [options] {device|file}\n\n### DESCRIPTION\n\neradump  dumps  binary  era  metadata created by the device-mapper era target on a device or\nfile to standard output for analysis or postprocessing in XML format. XML  formated  metadata\ncan  be fed into erarestore (see erarestore(8)) in order to put it back onto a metadata de‐\nvice (to process by the device-mapper target) or file.\n\nThis tool cannot be run on live metadata.\n\n### OPTIONS\n\n#### -h, --help\n\nPrint help and exit.\n\n#### -V, --version\n\nPrint version information and exit.\n\n#### --repair\n\nRepair the metadata whilst dumping it.\n\n#### --logical\n\nFold any unprocessed write sets into the final era array.\n\nYou probably want to do this if you're intending to process the results as\nit simplifies the XML.\n\n#### -o\n\n### EXAMPLES\n\nDumps era metadata on logical volume /dev/vg/metadata to standard output in XML format:\n\n$ eradump /dev/vg/metadata\n\n### DIAGNOSTICS\n\neradump returns an exit code of 0 for success or 1 for error.\n\n### SEE ALSO\n\neracheck(8), erarestore(8), erainvalidate(8)\n\n### AUTHOR\n\nJoe Thornber <ejt@redhat.com>\n\n\n\nSystem Manager's Manual                  Device Mapper Tools                             eradump(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "era_dump",
        "section": "8",
        "mode": "man",
        "summary": "eradump - dump era metadata from device or file to standard output.",
        "synopsis": "eradump [options] {device|file}",
        "flags": [
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print help and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Print version information and exit."
            },
            {
                "flag": "",
                "long": "--repair",
                "arg": null,
                "description": "Repair the metadata whilst dumping it."
            },
            {
                "flag": "",
                "long": "--logical",
                "arg": null,
                "description": "Fold any unprocessed write sets into the final era array. You probably want to do this if you're intending to process the results as it simplifies the XML."
            },
            {
                "flag": "-o",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [
            "Dumps era metadata on logical volume /dev/vg/metadata to standard output in XML format:",
            "$ eradump /dev/vg/metadata"
        ],
        "see_also": [
            {
                "name": "eracheck",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/eracheck/8/json"
            },
            {
                "name": "erarestore",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/erarestore/8/json"
            },
            {
                "name": "erainvalidate",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/erainvalidate/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-h, --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V, --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "--repair",
                        "lines": 2,
                        "long": "--repair"
                    },
                    {
                        "name": "--logical",
                        "lines": 5,
                        "long": "--logical"
                    },
                    {
                        "name": "-o",
                        "lines": 1,
                        "flag": "-o"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}