Solved

Vmware issue

Posted on 2011-03-07
5
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

631 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