thin\_rmap(8) System Manager's Manual thin\_rmap(8)

# [NAME](#NAME)

**thin\_rmap** - output reverse map of a thin provisioned region of blocks from **metadata device or file.**

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

**thin\_rmap** outputs the reverse mapping stored in the metadata on a device or file between a region of thin provisioned pool blocks and the associated thin provisioned devices.

This tool cannot be run on live metadata.

# [OPTIONS](#OPTIONS)

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

Print help and exit.

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

Print version information and exit.

[**--region {block range}**](#region)

Specify range of blocks on the data device.

```


    At least one region must be specified.  Multiple regions may be specified.


    The range takes the format <begin>..<one past the end>.  For example,


    "5..45" specifies data blocks 5 to 44 inclusive, but not 45.
```

# [EXAMPLES](#EXAMPLES)

$ **thin\_rmap** **--region** 5..45 /dev/pool-metadata

# [DIAGNOSTICS](#DIAGNOSTICS)

**thin\_rmap** returns an exit code of 0 for success or 1 for error.

# [SEE ALSO](#SEE_ALSO)

[**thin\_check**(8)](/man/enterprise-packages/thin-provisioning-tools/thin_check.8), [**thin\_dump**(8)](/man/enterprise-packages/thin-provisioning-tools/thin_dump.8), [**thin\_repair**(8)](/man/enterprise-packages/thin-provisioning-tools/thin_repair.8), [**thin\_restore**(8)](/man/enterprise-packages/thin-provisioning-tools/thin_restore.8), [**thin\_metadata\_size**(8)](/man/enterprise-packages/thin-provisioning-tools/thin_metadata_size.8)

# [AUTHOR](#AUTHOR)

Joe Thornber &lt;ejt@redhat.com&gt;, Heinz Mauelshagen &lt;HeinzM@RedHat.com&gt;

Device Mapper Tools System Manager's Manual

---

Document: thin_rmap(8) from thin-provisioning-tools 1.3.4-r3 (Chainguard OS)
