[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2032
  • Last Modified:

Add VMDK to inventory without VMX

I need to add a VMDK back to my VSphere 5.1 inventory but the VMX file is missing. I have the following files:
.nvram
.vmdk
.vmsd
.log files

Is there any way to get this back into inventory?
0
korona102
Asked:
korona102
  • 2
  • 2
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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!)
0
 
korona102Author Commented:
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.
CannotOpendisk.PNG
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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?
0
 
korona102Author Commented:
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!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now