CORRIGIR ERRO ESXi LookupAndOpen[file]

Mensagem de erro.

Failed to power on virtual machine SRVXX. File system specific implementation of LookupAndOpen[file] failed Click here for more details

Para verificar se o disco está com erro

.vmkfstools -x check /vmfs/volumes/datastorepath/vm name/vm name main base disk.vmdk

Para corrigir o disco

vmkfstools -x repair /vmfs/volumes/datastorepath/vm name/vm name main base disk.vmdk

LISTAR MAC ADDRESS NO ESXI

vi lista_mac.sh

#!/bin/sh
#vmrale
for VSWITCH in `vsish -e ls /net/portsets/ | cut -c 1-8`
do
echo $VSWITCH
for PORT in `vsish -e ls /net/portsets/$VSWITCH/ports | cut -c 1-8`
do
CLIENT_NAME=`vsish -e get /net/portsets/$VSWITCH/ports/$PORT/status | grep clientName | uniq`
ADDRESS=`vsish -e get /net/portsets/$VSWITCH/ports/$PORT/status | grep unicastAdd | uniq`
echo -e “\t$PORT\t$CLIENT_NAME\t$ADDRESS”
done
done

chmod 755 lista_mac.sh