gfs2_mkfs: 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/gfs2_mkfs - from package: gfs2-utils

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