era_dump(8)

πŸ“¦
version 1.3.4 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ era_dump(8) β€” System Manager's Manual ✨

Okay so this is the manual page for era_dump, the tool that dumps era metadata πŸ’– (it's from the Device Mapper Tools crew, btw 🧚).

πŸ“ NAME

era_dump β€” dump era metadata from device or file to standard output. πŸŽ€

πŸ“œ SYNOPSIS

era_dump [options] {device|file}

πŸ’… DESCRIPTION

Bestie, era_dump is the one that grabs binary era metadata made by the device-mapper era target on a device or file and spits it out to standard output in XML format 🫢. It's giving analysis and postprocessing vibes ✨. Then you can feed that XML into era_restore (see era_restore(8)) to put it back onto a metadata device (so the device-mapper target can process it) or onto a file πŸ”₯.

⚠️ Lowkey important: this tool cannot be run on live metadata. Don't even try it πŸ’€.

πŸŽ€ OPTIONS

  • -h, --help β€” Prints help and exits. Main character energy πŸ‘‘
  • -V, --version β€” Prints version information and exits πŸ¦‹
  • --repair β€” Repairs the metadata while it's being dumped πŸ› οΈβœ¨
  • --logical β€” Folds any unprocessed write sets into the final era array. 🌸

Okay, you probably want this one if you're planning to process the results, because it makes the XML way simpler πŸ™ˆ.

  • -o {xml file} β€” Writes the output to a file you specify instead of stdout πŸ’œ

🧚 EXAMPLES

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

    $ era_dump /dev/vg/metadata

πŸ’€ DIAGNOSTICS

era_dump returns an exit code of 0 for success or 1 for error. So if it's 1, it's not you, it's the tool 😭.

πŸ”— SEE ALSO

era_check(8), era_restore(8), era_invalidate(8) 🌈

πŸ‘‘ AUTHOR

Joe Thornber <ejt@redhat.com> 🫢


Bye bestie, this was the era_dump(8) page, from the Device Mapper Tools crew, served with love πŸ’–πŸ¦‹ Stay iconic πŸ’…βœ¨

πŸ“¦ where this page comes from