VMWare – Cloning Virtual Machines

1. Log onto the VMware ESX host using SSH (eg Putty)
2. Obtain the GUID for the datastore:

ls -l /vmfs/volumes/

3. Type vmkfstools -i /vmfs/volumes/534abe20-754cb45a-ffde-6805ca098187/VM-ADC/VM-ADC.vmdk /vmfs/volumes/534abe20-754cb45a-ffde-6805ca098187/VM-ADC/VM-ADC2.vmdk -d 'thin' -a lsilogic
(with VM-ADC being the folder and VM-ADC.vmdk being the vmdk name)

vmkfstools -E “/vmfs/volumes/datastore1/VM-ADC/VM-ADC2.vmdk” “/vmfs/volumes/datastore1/VM-ADC/VM-ADC.vmdk”

http://www.petenetlive.com/KB/Article/0000579.htm