VMWare ESXi, change the default path for a VM
Posted
by glenatron
on Server Fault
See other posts from Server Fault
or by glenatron
Published on 2009-12-29T13:14:50Z
Indexed on
2010/03/30
1:43 UTC
Read the original article
Hit count: 1266
For some reason VMWare ESXi has decided that one of my VMs is on a completely different path to the path it is actually on.
So my VM is on /vmfs/volumes/long-guid-here/my-vm-name but when I try to open it I get the message "File < unspecified filename> was not found." Which is not really surprising as unspecified filenames are quite difficult to locate.
I thought it was just the swap file, which was down in the .vmx file as /vmfs/volumes/long-guid-here/old-vm-name/old-vm-name.vmsd but when I changed that in the vmx it made no difference.
What I can't figure out is where VMWare is getting the old-vm-name from- when I look in the "Settings" pane it believes the working file location to be "[datastore-name] old-vm-name\" and I can't find anywhere to change it. Now the files themselves are all named for old-vm-name - so the directory is /my-vm-name/old-vm-name.vmx and so on. Is this the cause of my problems or is there some arcane configuration option elsewhere around the VMWare machine that I need to be tinkering with?
© Server Fault or respective owner