Add VMDK to inventory without VMX

Posted on 2014-08-28
Last Modified: 2014-08-28
I need to add a VMDK back to my VSphere 5.1 inventory but the VMX file is missing. I have the following files:
.log files

Is there any way to get this back into inventory?
Question by:korona102
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    Create a new virtual machine, (Custom), and select Add Existing Virtual Disk.

    This will re-create the Configuration which is stored in the VMX file.

    You'll not need the .nvram, .vmsd, and .log files, just the vmdk (two of them!)

    Author Comment

    Thanks for the quick response Andrew. I went through that process and it was looking good until I tried to start it. See attached image.
    LVL 116

    Accepted Solution

    okay, this could indicate a few things...

    1. disk is corrupted.

    2. snapshot missing.

    so, lets go back to how the VMX file became missing?

    Power Outage, NO UPS, disk failure, raid failure

    Do you have a working VM, e.g. what we call a helper VM, which you could try adding this disk to, the VM?

    Author Comment

    It appears to be a corrupt VMDK. When I try to add it to an existing VM I get the same error. Thanks for your prompt responses Andrew!

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    In vSphere 4 1 and 5.0, you can enable both Remote SSH and the ESXi Shell for management of hosts from the vSphere Client and from the Direct Console User Interface. You may have noticed that on enabling both Remote SSH and the ESXi Shell for man…
    This Tutorial covers a very basic and common question asked on Experts Exchange, "How Do I Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x, ESXi 5.0?" Using the following method, no third party tools are required or need…
    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…
    This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

    734 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