Aug 17, 2011
tom

When trying to copy a virtual disk in VMware vSphere client, I get an errror

Question

I’m pretty new to all the VMware world, so this is probably mainly a question about the right set of documentation to look at. I’m trying to clone/copy a VM that I installed on an ESXi installation.

I was trying to follow along with the top example here:
http://serverfault.com/questions/16320/is-there-a-way-to-clone-an-existing-vm-on-an-esxi-server-without-having-to-re-imp

However, I’m using the vSphere client to connect to the ESXi box and manage it, and the vSphere client is telling me it won’t let me rename the vmdk file.

The real answer I want is how do I clone the VM I installed if I want to spin up 5 copies. Is there another utility I can use to copy the vmdk file, then create a new virtual machine using it? Any idea why they nerfed the feature in vSphere client?

Answer

The best way to do this, is to enable SSH access. You may then use the normal compliment of CLI utilities, such as vmkfstools, or simply copy the folder. Shut down the VM, then perform the copy. Once the copy is complete, browse the datastore, enter the new folder, and add the new virtual machine to the inventory.

Related posts:

  1. VMware ESXi vSphere Client to administer multiple EXSi servers
  2. What’s the best way to make a copy of a VM and then rename it to save into your inventory from vSphere client?
  3. Can’t connect to ESXi with vSphere Client
  4. Why is VMware vSphere Client hanging at the console?
  5. Create a Guest Virtual Machine from command line in VMWare ESXi/vSphere 4?

Leave a comment