fdformat: 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/sbin/fdformat - from package: util-linux-ng

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

On Debian possible default full paths are:

/usr/sbin/fdformat - from package: util-linux

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