Clone VM on ESXi 4.1 without VCenter

Via SSH, you can just clone the disk.

1. Create a new VM with the same configuration as the machine you wish to clone.
2. By creating the VM you also created its virtual disk (*.vmdk).
3. Delete this disk (we will replace it with the clone) by using the “Datastore Browser” or SSH on ESXi.
4. Connect to your ESXi by using SSH.
type the following command.
vmkfstools -i /vmfs/volumes/datastore/VMNAME/VMDISK.vmdk /vmfs/volumes/datastore/newmachine/newmachine.vmdk
Destination disk format: VMFS zeroedthick
Cloning disk '/vmfs/volumes/datastore/VMNAME/VMDISK.vmdk'...
Clone: 100% done.

Please Register.

If you wish to add comments.