Solved

Vmware issue

Posted on 2011-03-07
5
386 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
Comment Utility
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
Comment Utility
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
Comment Utility
Try using vmware converter.
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 500 total points
Comment Utility
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
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now