How can I move an existing VM's files to a new directory in the same datastore?

Posted by blade on Server Fault See other posts from Server Fault or by blade
Published on 2010-08-11T19:34:20Z Indexed on 2011/01/06 17:55 UTC
Read the original article Hit count: 172

Filed under:

Hi,

I have some VMs deployed on ESX. In vSphere 4, I want to move these VMs into another directory in the datastore. So the VM directories are under root, but I want them in root/MyNewFolder.

I tried this by turning off a VM, copying the VM's file (VMDK etc) into the directory I want, deleting the hard drive from the VM's settings, adding a new hard drive and then selecting the new path to the VMDK. When I press ok on the settings dialog box, having made this modification to the settings, I get the following error:

not found.

What I am trying to do also does not seem to be possible when making a new VM. I can only make VMs under root.

© Server Fault or respective owner

Related posts about vmware-esx