nilfs-resize: 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/nilfs-resize - from package: nilfs-tools

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