thin_repair: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/sbin/thin_repair - from package: device-mapper-persistent-data
/usr/sbin/thin_repair - from package: device-mapper-persistent-data

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/thin_repair - from package: thin-provisioning-tools

You may install the required package with command apt-get install {package}
Error in other languages:
thin_repair: bevel nie gevind nie
thin_repair: comandă negăsită
thin_repair: comando não encontrado
thin_repair: commande introuvable
thin_repair: command not found
thin_repair: käsku ei ole
thin_repair: không tìm thấy lệnh
thin_repair: komanda nerasta
thin_repair: Kommando nicht gefunden.
thin_repair: kommandot finns inte
thin_repair: komut yok
thin_repair: nie znaleziono polecenia
thin_repair: níor aimsíodh an t-ordú
thin_repair: no se encontró la orden
thin_repair: no s'ha trobat l'ordre
thin_repair: opdracht niet gevonden
thin_repair: parancs nem található
thin_repair: perintah tidak ditemukan
thin_repair: príkaz nenájdený
thin_repair: příkaz nenalezen
thin_repair: команда не найдена
thin_repair: командата не е открита
thin_repair: 命令找不到
thin_repair: コマンドが見つかりません