ESXi

 View Only
  • 1.  Corrupt virtual disks

    Posted May 31, 2017 01:32 AM

    Hi everybody.

    I need your help.

    I had a situation, my array disk go broken down and my virtual machines go down.

    Later the discs go up and vmware show me this message

    An error was received from the ESX host while powering on VM MXMXO-I-DB4 - orig.

    Failed to create swap file '/vmfs/volumes/53bf8e38-3892878b-be89-c81f66f3b1e4/MXMXO-I-DB4/vmx-MXMXO-I-DB4-542573655-1.vswp' : Not found

    Could not start VMX: msg.vmk.status.VMK_NOT_FOUND

    What can I do to recovery the disk information?



  • 2.  RE: Corrupt virtual disks

    Posted May 31, 2017 09:13 AM


  • 3.  RE: Corrupt virtual disks

    Posted May 31, 2017 02:02 PM

    Hi Yezdi.

    I tried but not work ):

    Do you know how I recovery the information found in the vmdk?

    Regards



  • 4.  RE: Corrupt virtual disks

    Posted May 31, 2017 02:23 PM

    Create a new VM and mount the VMDKs from the failed VM. You can recover your data



  • 5.  RE: Corrupt virtual disks

    Posted May 31, 2017 03:15 PM

    Hi Deepakse.

    I tried but when I power on t he VM shows this message

    An error was received from the ESX host while powering on VM MXMXO-I-DB4 - orig.

    Failed to create swap file '/vmfs/volumes/53bf8e38-3892878b-be89-c81f66f3b1e4/MXMXO-I-DB4/vmx-MXMXO-I-DB4-542573655-1.vswp' : Not found

    Could not start VMX: msg.vmk.status.VMK_NOT_FOUND

    Regards



  • 6.  RE: Corrupt virtual disks

    Posted May 31, 2017 03:59 PM

    Hello,

    Unregister the VM from inventory

    Connect via SSH to a host that has access to the storage this VM is located on..

    Navigate to the VMs namespace directory:

    # cd /vmfs/volumes/53bf8e38-3892878b-be89-c81f66f3b1e4/MXMXO-I-DB4

    Check what is here:

    # ls -lah

    If any .vswp files exist, make a temp folder and move them there, if you see a ~vmx (NOT .vmx) also move this to the temp folder.

    # mkdir temp1

    # mv *vswp temp1

    Register the VM again and attempt to power on.

    Bob

    -o- If you found this comment useful please click the 'Helpful' button and/or select as 'Answer' if you consider it so, please ask follow-up questions if you have any -o-