VMware Cloud Community
continuum
Immortal
Immortal

need to recreate a descriptor from scratch but still have the *-flat.vmdk ?

Occasionally ESX VMs crash in such a way that the descriptor file of a vmdk gets lost.

If you ever need to recreate a descriptor from scratch but still have the *-flat.vmdk this little tool may come handy.

Tool asks for a flat-file - like used by ESX 3 and Workstation.

It ignores the CID and uses a bogus one.

Output is named "newdescriptor.vmdk" - rename as needed.

Doesn't work for disks smaller than 1 Gb at the moment

This is a very very simple autoit script - it just takes the size of the *-flat.vmdk as an argument and spits out disk-geometry values like used by VMware.

You can also try it against any dd-image - but this tool is so simple that you would need to rename the dd-image to something-flat.vmdk The other entries in the descriptor simply use some standard entries - edit as you see fit.

Feature requests welcome

___________________________________

description of vmx-parameters:

VMware-liveCD:


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
4 Replies
TomHowarth
Leadership
Leadership

As usual, outstounding work

Tom Howarth

VMware Communities User Moderator

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos
continuum
Immortal
Immortal

Nope - this is very primitive - just pretty useful occasionally.

___________________________________

description of vmx-parameters:

VMware-liveCD:


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
TomHowarth
Leadership
Leadership

Primitive it may be, however that said, I believe in the KISS principle KEEP IT SIMPLE STUPID :smileygrin: it is an excelent tool and one that is needed.

Tom Howarth

VMware Communities User Moderator

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos
HIkkaduwa
Contributor
Contributor

Man, you saved our life! works like a charm. Thanks

Reply
0 Kudos