Recuperar Datastore

Si se pierde el acceso a un datastore y sólo nos da la opción de agregarlo como nuevo y formatearlo, para recuperarlo con todos los datos hay que seguir el siguiente tutorial:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002281

Para recrear la tabla de particiones:

Log in to the ESX host service console. For ESXi see Tech Support Mode for Emergency Support.

Run the command

Identify the disk in question, and note the value under the Console Device column.

Run the command: donde dev será la unidad que intentamos recuperar por ejemplo /dev/sdd

La salida será algo así

Ejecutar

Crear la partición

Align the partition to sector 128.

Caution: Do not execute the realign procedure if the volume was originally created from the ESX command line or if the volume was upgraded from ESX 2.x as the starting sector is 63, which is the default when using fdisk. If the VMFS volume was originally created using VMware Infrastructure Client, the beginning of the partition was set to sector 128 and the alignment is required to match the beginning of the partition to where the volume used to be.
Looking at other VMFS partitions with fdisk -lu in the same environment reveals if the current practice is to align the partition start to block 128.
This exits fdisk and returns you to the command prompt.

Run vmkfstools -V and press Enter to discover the VMFS.