vgmknodes: 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/vgmknodes - from package: lvm2

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

On Debian possible default full paths are:

/sbin/vgmknodes - from package: lvm2

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