Solved

Vmware issue

Posted on 2011-03-07
5
390 Views
Last Modified: 2012-05-11
I have 3 flat files for my ESXi server.
I need to run the vmware wizard using the existing harddrive images but since its the flat files and not the vmdk files i cannot.  How can I recreate the vmdk files if i have no backup of them?
0
Comment
Question by:cjameson74
5 Comments
 
LVL 2

Expert Comment

by:pod86
ID: 35065473
Try this, dont know if it will do the job though: source = http://www.itexperience.net/2008/03/03/howto-recreate-vmdk-files/

On VMWare ESX3, your VM has one or more VMDK files (extension .vmdk) and one or more flat vmdk files (last characters flat.vmdk )

In some cases, you may corrupt, lose or accidentally delete your VMDK files. Your VMDK’s contain metadata for your flat.vmdk files. Without your VMDK’s, you cannot load your flat.vmdk-files. Consequence: you cannot load the VM in your VirtualCenter and you cannot start the VM.
The following steps will guide you to recreate your vmdk files (.vmdk):

   1. Determine the hard disk sizes of your original VM (I call this VM from now on: VM A)
   2. Create a new VM (I call this VM from now on: VM B) with VirtualCenter with the same number of hard disks as your old VM, and the exact same sizes. So: if your original VM contained 2 harddisks from 8,00GB and 12,00GB, recreate these harddisks exactly the same in your new VM.
   3. After your VM B has been created, use Putty (or a similar tool) to navigate to your ESX server. Then navigate to the location / directory where your VM B is stored.
   4. Copy all VMDK’s (not the flat ones, but only the metadata files) to your VM A directory. The filesize of your META-data files should be a few KB.
   5. Navigate to your VM A directory. You just copied the *.VMDK files to this directory. Edit the VMDK’s with a text editor: You should replace the old filenames with the correct file names -> They refer to the new VM B, but they should refer to your old (original) VM A
   6. Save the files.
   7. Load the VM in your VirtualCenter. You should now be able to add th flat.vmdk to your VM.
0
 
LVL 1

Author Comment

by:cjameson74
ID: 35065696
I am using ESXi ....when I created the vms i dont see the the vmdk files anywhere the ones that map your flat files
0
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 35067090
Try using vmware converter.
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 500 total points
ID: 35068842
Review this KB "cjameson74" on how to recreate your VMDK (decriptor) files:
http://kb.vmware.com/kb/1002511

Regards,
~coolsport00
0
 
LVL 28

Expert Comment

by:bgoering
ID: 35069156
Do you have 4 files that comprise one virtual hard disk? Or do the 3 files represent 3 different virtual drives?

If the latter the article coolsport00 posted would be the correct one for you. Repeat the instructions for each virtual HD.

However if you have former case where the disk has been split into chunks up to 2GB in size use the article http://kb.vmware.com/kb/1026266 to recover your singel hard dirve.

Good Luck
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
New Relic 3 28
Memory test on Esxi host 7 51
Install esxi 6 14 49
HP H221 HBA with P2000 trouble configuring 4 43
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question