dmsetup: 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/dmsetup - from package: device-mapper

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

On Debian possible default full paths are:

/sbin/dmsetup - from package: dmsetup

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