era_check command not found

In this troubleshooting guide we learn how to fix era_check command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

era_check: command not found

or when using sudo you get the following error message

sudo: era_check: command not found

Solutions to era_check: command not found

How To Fix era_check: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu era_check is provided by thin-provisioning-tools package.

thin-provisioning-tools is:

This package contains tools to handle meta-data from the device-mapper thin target. This target allows the use of a single backing store for multiple thinly provisioned volumes. Numerous snapshots can be taken from such volumes. The tools can check the meta-data for consistency, repair damaged information and dump or restore the meta-data in textual form.

To fix this problem, we can install more using the command below.

sudo apt-get -y install thin-provisioning-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install thin-provisioning-tools.

sudo apt -y install thin-provisioning-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install thin-provisioning-tools

Summary

In this tutorial we learn how to fix era_check command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.