fsck.xfs: 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/fsck.xfs - from package: xfsprogs

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

On Debian possible default full paths are:

/sbin/fsck.xfs - from package: xfsprogs

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