xfs_mdrestore: 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/xfs_mdrestore - from package: xfsprogs

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

On Debian possible default full paths are:

/usr/sbin/xfs_mdrestore - from package: xfsprogs

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