era_dump man page

era_dump — dump era metadata from device or file to standard output


era_dump [options] {device|file}


era_dump dumps binary era metadata created by the device-mapper era target on a device or file to standard output for analysis or postprocessing in XML format. XML formated metadata can be fed into era_restore (see era_restore(8)) in order to put it back onto a metadata device (to process by the device-mapper target) or file.

This tool cannot be run on live metadata.

-r, --repair
Repair the metadata whilst dumping it.
-h, --help
Print help and exit.
-V, --version
Output version information and exit.
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.


Dumps era metadata on logical volume /dev/vg/metadata to standard output in XML format:

era_dump /dev/vg/metadata


era_dump returns an exit code of 0 for success or 1 for error.

See Also

era_check(8) era_repair(8) era_restore(8) era_invalidate(8)


Joe Thornber <ejt@redhat.com>

Referenced By

era_check(8), era_invalidate(8).

Explore man page connections for era_dump(8).