meta data de esta página
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:
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
esxcfg-scsidevs -c
- Identify the disk in question, and note the value under the Console Device column.
- Run the command:
fdisk -l <dev>
donde dev será la unidad que intentamos recuperar por ejemplo /dev/sdd
La salida será algo así
Disk /dev/sde: 268.4 GB, 268440698880 bytes 255 heads, 63 sectors/track, 32636 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdd 1 32636 262148606 fb VMware VMFS
- Ejecutar
fdisk <dev>
- Crear la partición
1. Press n and press Enter to create a new partition. 2. Press p and press Enter to select that this is a primary partition. 3. Press 1 and press Enter to make the first partition. 4. Press Enter to retain the default value. 5. Press Enter again to retain the default value. 6. Change the partition to type fb (VMFS): 1. Press t and press Enter. 2. Press 1 and press Enter. 3. Enter fb and press Enter
- Align the partition to sector 128.
1. Type x and press Enter to move to expert mode. 2. Type b and press Enter to change the beginning of the partition. 3. Type 1 and press Enter to select the first partition. 4. Type 128 and press Enter to move to the block 128 the beginning of the partition. 5. Type w and press Enter to save.
- Run vmkfstools -V and press Enter to discover the VMFS.