era\_invalidate(8) System Manager's Manual era\_invalidate(8)

# [NAME](#NAME)

**era\_invalidate** - Provide a list of blocks that have changed since a particular era.

# [SYNOPSIS](#SYNOPSIS)

```
era_invalidate [options] {device|file}
```

# [DESCRIPTION](#DESCRIPTION)

**era\_invalidate** examines era metadata and lists blocks that may have changed since a given era.

This tool cannot be run on live metadata unless the **--metadata-snap** option is used.

# [OPTIONS](#OPTIONS)

[**-h, --help**](#h)

Print help and exit.

[**-V, --version**](#V)

Print version information and exit.

[**-o {output file}**](#o)

Write output to a file rather than stdout.

[**--metadata-snapshot**](#metadata_snapshot)

Use the metadata snapshot rather than the current superblock.

[**--written-since {era nr}**](#written_since)

Blocks written since the given era will be listed.

# [EXAMPLE](#EXAMPLE)

List the blocks that may have been written since the beginning of era 13 on the metadata device /dev/vg/metadata:

```


    $ era_invalidate --written-since 13 /dev/vg/metadata
```

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

# [DIAGNOSTICS](#DIAGNOSTICS)

**era\_invalidate** returns an exit code of 0 for success or 1 for error (eg, metadata corruption).

# [SEE ALSO](#SEE_ALSO)

[**era\_check**(8)](/man/enterprise-packages/thin-provisioning-tools/era_check.8), [**era\_dump**(8)](/man/enterprise-packages/thin-provisioning-tools/era_dump.8), [**era\_restore**(8)](/man/enterprise-packages/thin-provisioning-tools/era_restore.8)

# [AUTHOR](#AUTHOR)

Joe Thornber &lt;ejt@redhat.com&gt;

Device Mapper Tools System Manager's Manual

---

Document: era_invalidate(8) from thin-provisioning-tools 1.3.4-r5 (Chainguard OS)
