xfs_repair: 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:

/sbin/xfs_repair - from package: xfsprogs

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

On Debian possible default full paths are:

/sbin/xfs_repair - from package: xfsprogs

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