VMware Cloud Community
zhangfred_vm
Contributor
Contributor
Jump to solution

Can we convert the vmdk file use the flat.vmdk file

For some misaction, the vmkd file is deleted, but the flat.vmdk file is still here.

Can we create the vmdk file use the flat.vmdk file?

0 Kudos
1 Solution

Accepted Solutions
Dave_Mishchenko
Immortal
Immortal
Jump to solution

If you have another VMDK file that the same size and same controller, then you can copy the contents of that vmdk file (it's a plain text file) into a replacement vmdk file. The contents of the file will look like this. Do you have a backup of the flat.vmdk before you start this and was there a snapshot on the VM?

  1. Disk DescriptorFile

version=1

CID=886aeba7

parentCID=ffffffff

createType="vmfs"

  1. Extent description

RW 41943040 VMFS "IOMeter-flat.vmdk"

  1. The Disk Data Base

#DDB

ddb.virtualHWVersion = "4"

ddb.uuid = "60 00 C2 9b 45 1a d5 7c-7d 1d c0 e0 f6 4c f1 63"

ddb.geometry.cylinders = "2610"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

ddb.toolsVersion = "7299"

View solution in original post

0 Kudos
2 Replies
Dave_Mishchenko
Immortal
Immortal
Jump to solution

If you have another VMDK file that the same size and same controller, then you can copy the contents of that vmdk file (it's a plain text file) into a replacement vmdk file. The contents of the file will look like this. Do you have a backup of the flat.vmdk before you start this and was there a snapshot on the VM?

  1. Disk DescriptorFile

version=1

CID=886aeba7

parentCID=ffffffff

createType="vmfs"

  1. Extent description

RW 41943040 VMFS "IOMeter-flat.vmdk"

  1. The Disk Data Base

#DDB

ddb.virtualHWVersion = "4"

ddb.uuid = "60 00 C2 9b 45 1a d5 7c-7d 1d c0 e0 f6 4c f1 63"

ddb.geometry.cylinders = "2610"

ddb.geometry.heads = "255"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

ddb.toolsVersion = "7299"

0 Kudos
JackWatts
Contributor
Contributor
Jump to solution

I have the same problem. I need to create a new VM from a flat.vmdk file. The way I got in this mess was I deleated the vmdk by mistake leaving only the flat.vmdk. This flat.vmdk happens to be the sever I run my Virtual Center on so I'm without VC until I can figure out a way to rebuild it and yes this Virtual Center server was running on a VM. Bad chose. How can I get into the flat.vmdk to modify it?

0 Kudos