ocuevas1
Contributor
Contributor

Corrupt virtual disks

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?

0 Kudos
5 Replies
Sreejesh_D
Virtuoso
Virtuoso

0 Kudos
ocuevas1
Contributor
Contributor

Hi Yezdi.

I tried but not work 😞

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

Regards

0 Kudos
deepaksel
Contributor
Contributor

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

0 Kudos
ocuevas1
Contributor
Contributor

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

0 Kudos
TheBobkin
VMware Employee
VMware Employee

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-

0 Kudos