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

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

On Debian possible default full paths are:

/usr/sbin/gfs2_edit - from package: gfs2-utils

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