{
    "mode": "man",
    "parameter": "era_dump",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/era_dump/8/json",
    "generated": "2026-05-30T07:09:01Z",
    "synopsis": "eradump [options] {device|file}",
    "sections": {
        "NAME": {
            "content": "eradump - dump era metadata from device or file to standard output.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "eradump [options] {device|file}\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "eradump  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",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h, --help",
                    "content": "Print help and exit.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-V, --version",
                    "content": "Print version information and exit.\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "--repair",
                    "content": "Repair the metadata whilst dumping it.\n",
                    "long": "--repair"
                },
                {
                    "name": "--logical",
                    "content": "Fold 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",
                    "long": "--logical"
                },
                {
                    "name": "-o",
                    "content": "",
                    "flag": "-o"
                }
            ]
        },
        "EXAMPLES": {
            "content": "Dumps era metadata on logical volume /dev/vg/metadata to standard output in XML format:\n\n$ eradump /dev/vg/metadata\n\n",
            "subsections": []
        },
        "DIAGNOSTICS": {
            "content": "eradump returns an exit code of 0 for success or 1 for error.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "eracheck(8), erarestore(8), erainvalidate(8)\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Joe Thornber <ejt@redhat.com>\n\n\n\nSystem Manager's Manual                  Device Mapper Tools                             eradump(8)",
            "subsections": []
        }
    },
    "summary": "eradump - dump era metadata from device or file to standard output.",
    "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"
        }
    ]
}