Markieboy
Contributor
Contributor

Failed to power on virtual machine Centos7. Unable to enumerate all disks.

Jump to solution

Hi,

can anyone please help me fixing this. the error shows up after I deleted the Centos7-000002.vmdk manually at datastore browser.

now I can't open the VM and I can't restore the snapshots. is there any way can I still recover this VM?.

1 Solution

Accepted Solutions
a_p_
Leadership
Leadership

From the contents of the two provided .vmdk files, I assume that "Centos7-000003.vmdk" is the most recent snapshot file, i.e. the one that's in the VM's settings (.vmx). Please double-check that. Based on this assumtion, I created the attached "Centos7-000002.vmdk".


André

View solution in original post

0 Kudos
11 Replies
Lalegre
Virtuoso
Virtuoso

Hey Markieboy​,

Quick question did you also deleted the "xxxx-flat.vmdk" file from your datastore that references that disk?

If you did not do that you can try to follow the next procedure: VMware Knowledge Base

0 Kudos
Markieboy
Contributor
Contributor

Hi Lalegre

Thank you for your response. i didn't delete the "xxxx-flat.vmdk".   but i don't see that file in my datastore browser. check this screenshots.

0 Kudos
Lalegre
Virtuoso
Virtuoso

You still have the delta which is good so i suggest you following the procedure that i sent you above.

0 Kudos
Markieboy
Contributor
Contributor

Will do sir. thank you

0 Kudos
Markieboy
Contributor
Contributor

sir Lalegre   

how would i do all these things from the KB you sent? cause as of now. i still not able to power on my VM.

0 Kudos
a_p_
Leadership
Leadership

As you probably know, each virtual disk file on an ESXi host consists of two files, a small descriptor/header .vmdk file, and a data .vmdk (flat/delta/sesparse) file.

What needs to be done is to re-create the deleted descriptor .vmdk file. The required entries for this file can be retrieved from the other descriptor .vmdk files.

What I like you to do is to download the two descriptor files "Centos7.vmdk", and "Centos7-000003.vmdk", compress/zip them, and attach the .zip archive to your next reply.

To do this, temporarily enable the SSH service on the ESXi host. Then use e.g. WinSCP to connect to the host, and to download the two files.

André

scott28tt
VMware Employee
VMware Employee

Moderator: Please do not create duplicate threads. The other instance you created in the Cloud disaster recovery area has been archived.


-------------------------------------------------------------------------------------------------------------------------------------------------------------
VMware Training & Certification blog
0 Kudos
Markieboy
Contributor
Contributor

apologies. thank you scott

0 Kudos
Markieboy
Contributor
Contributor

Hi, a.p. thank you for the information. I actually don't know that until now. please see attached file. I downloaded the files from the datastore browser.

0 Kudos
a_p_
Leadership
Leadership

From the contents of the two provided .vmdk files, I assume that "Centos7-000003.vmdk" is the most recent snapshot file, i.e. the one that's in the VM's settings (.vmx). Please double-check that. Based on this assumtion, I created the attached "Centos7-000002.vmdk".


André

View solution in original post

0 Kudos
Markieboy
Contributor
Contributor

yes, you are right "Centos7-000003.vmdk" is the most recent snapshot file. I uploaded the file that you created and now I'm able to power on my VM. thank you so much I really appreciate your help.a.p.

0 Kudos