era_check(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_check(8) β€” System Manager's Manual πŸ’–

✨ NAME ✨

okay so era_check is the tool that validates era metadata on a device or file πŸ” it's giving quality control bestie πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

era_check [options] {device|file}

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so era_check checks the era metadata that the device-mapper era target makes, on a device or a file 🧚 it's literally the vibe check for your metadata ✨

🚫 this tool cannot be run on live metadata. do not try it on live metadata bestie, it will not slay πŸ’€

🌸 OPTIONS 🌸

  • -h, --help β€” πŸ™‹β€β™€οΈ prints the help text and exits, easy peasy
  • -V, --version β€” 🏷️ prints the version info and exits, so you know which version you're obsessed with
  • -q, --quiet β€” 🀫 silences all the output messages and just gives you the exit code. main character energy, no noise
  • --super-block-only β€” 🧐 only checks that the superblock is actually there, nothing else. quick and lowkey iconic

πŸ’œ EXAMPLE πŸ’œ

okay so say you want to analyse the thin provisioning metadata on the logical volume /dev/vg/metadata πŸ“ you just do this:

$ era_check /dev/vg/metadata

and that's it!! 🫢 also heads up, the device may not be actively used by the target while this is running πŸ‘€

πŸ”₯ DIAGNOSTICS πŸ”₯

era_check returns an exit code of 0 for success βœ… and 1 for error ❌ so check that code if you're scripting, periodt πŸ’…

🌈 SEE ALSO 🌈

era_dump(8), era_restore(8), era_invalidate(8) 🧚 go check those out, they're giving sibling energy

πŸ‘‘ AUTHOR πŸ‘‘

the iconic Joe Thornber <ejt@redhat.com> 🫢 absolute legend, no cap


πŸ’– ok bestie that's the whole tea β˜• this page came from the Device Mapper Tools pages of the System Manager's Manual, all the way from the era_check(8) crew πŸ¦‹ stay iconic, stay hydrated, and go validate that metadata βœ¨πŸŽ€

πŸ“¦ where this page comes from