era_check(8) validate era metadata on device or file

SYNOPSIS

era_check [options] {device|file}

DESCRIPTION

era_check checks era metadata created by the device-mapper era target on a device or file.

This tool cannot be run on live metadata.

OPTIONS

-q, --quiet
Suppress output messages, return only exit code.

-h, --help
Print help and exit.

-V, --version
Output version information and exit.

--super-block-only
Only check the superblock is present.

era_check will return a non-zero exit code if it finds a fatal error. If any errors are discovered use era_repair to correct.

EXAMPLE

Analyse thin provisioning metadata on logical volume /dev/vg/metadata:

era_check /dev/vg/metadata

The device may not be actively used by the target when running.

DIAGNOSTICS

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

AUTHOR

Joe Thornber <[email protected]>