sg_test_rwbuf: 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_test_rwbuf - 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_test_rwbuf - from package: sg3-utils

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