fatresize: 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 Debian possible default full paths are:

/usr/sbin/fatresize - from package: fatresize

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