One of our VM (WIN2000) running on ESX 3.5 Update2 doesn't have *.vmdk file, but this machine still works.
In the Datastore Browser in the directory of this VM there are just these 2 files:
Howto recreate missing *.vmdk file?
Thx, but to Identify the SCSI controller type doesn't work.
I've tried the following command on my ESX 3.5 Update2 in the VM directory, but it seems not to work:
less *.vmx | grep -i virtualdev
*.vmx: No such file or directory
if you are missing the .vmx file, you can create a new virtual machine (custom), with no disk, then create the .vmdk
THX again, but howto create a new virtual machine (custom), with no disk?
Can I do it from the command line using putty?
you can do it from the command line, but it's a lot easier from the VI Client. Otherwise something like http://www.easyvmx.com/.
If using the VI Client, right click on choose create virtual machine, then choose custom.
THX, I've created a new virtual machine (custom), with no disk, but what's next step?
Should I move and rename the new vmx file from the new directory to the old directory where the vmdk file is missing?
yes, get all files together, this way you can recreate the discripter file (.vmdk). Once done, you can add Hard Disk (Use an existing virtual disk) to the VM and power it back on.
U mean move and rename all moved files?
There are 3 new files:
question: Is the guest in question still powered on and registered in inventory? If so, power it down, and remove it from inventory. Move all the files into the correct folder (probably the name of the original VM), once that it done, add the guest back to inventory, add the HDD back into the guest. Before you power it on, click on migrate, move the guest and it's disk files to another LUN, this will rename everything to whatever you have added the guest to inventory as.
THX, I've done what U suggested, created a vmdk file and it works well.