mkfs.ext3: 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/mkfs.ext3 - from package: e2fsprogs

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

On Debian possible default full paths are:

/sbin/mkfs.ext3 - from package: e2fsprogs

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