meta data de esta página
  •  

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
virtualizacion:vmware:version4:recuperar_volumen [2020/10/20 10:03] – ↷ Página movida de virtualizacion:vmware:recuperar_volumen a virtualizacion:vmware:version4:recuperar_volumen lcvirtualizacion:vmware:version4:recuperar_volumen [2023/01/18 14:46] (actual) – editor externo 127.0.0.1
Línea 1: Línea 1:
-===== Recuperar Volumen =====+{{tag>vmware datastore recuperar}} 
 +===== 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: 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:
  
Línea 7: Línea 8:
  
   - Log in to the ESX host service console. For ESXi see Tech Support Mode for Emergency Support.   - Log in to the ESX host service console. For ESXi see Tech Support Mode for Emergency Support.
-  - Run the command esxcfg-scsidevs -c+  - Run the command <sxh>esxcfg-scsidevs -c</sxh>
   - Identify the disk in question, and note the value under the Console Device column.   - Identify the disk in question, and note the value under the Console Device column.
-  - Run the command: <code>fdisk -l <dev> </code> donde dev será la unidad que intentamos recuperar por ejemplo /dev/sdd +  - Run the command: <sxh>fdisk -l <dev> </sxh> donde dev será la unidad que intentamos recuperar por ejemplo /dev/sdd
-<file> La salida será algo así+
  
 + La salida será algo así 
 +<file>
       Disk /dev/sde: 268.4 GB, 268440698880 bytes       Disk /dev/sde: 268.4 GB, 268440698880 bytes
       255 heads, 63 sectors/track, 32636 cylinders       255 heads, 63 sectors/track, 32636 cylinders
Línea 19: Línea 21:
       /dev/sdd 1 32636 262148606 fb VMware VMFS       /dev/sdd 1 32636 262148606 fb VMware VMFS
 </file> </file>
-  - Ejecutar <code>fdisk <dev></code>+  - Ejecutar <sxh>fdisk <dev></sxh>
   - Crear la partición   - Crear la partición
 <file>  <file> 
Línea 32: Línea 34:
                3. Enter fb and press Enter                3. Enter fb and press Enter
 </file> </file>
 +
   - Align the partition to sector 128.   - Align the partition to sector 128.
- +<note warning> 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.</note>
-     <note warning> 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.</note>+
  
 <note>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.</note> <note>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.</note>
 +
 <file> <file>
          1. Type x and press Enter to move to expert mode.          1. Type x and press Enter to move to expert mode.
Línea 44: Línea 47:
          5. Type w and press Enter to save.          5. Type w and press Enter to save.
 </file> </file>
-            <note>This exits fdisk and returns you to the command prompt.</note>+<note>This exits fdisk and returns you to the command prompt.</note>
  
-   8. Run vmkfstools -V and press Enter to discover the VMFS. +  - Run vmkfstools -V and press Enter to discover the VMFS.