sg_unmap: 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:

/usr/bin/sg_unmap - from package: sg3_utils

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

On Debian possible default full paths are:

/usr/bin/sg_unmap - from package: sg3-utils

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