Quantcast
Channel: VMware Communities: Message List - ESXi
Viewing all articles
Browse latest Browse all 28826

Re: Clone virtual machine

$
0
0

Hi


Use the vm recommeded steps as below and let me know furhter.


To clone a virtual machine disk using the ESXi/ESX host terminal:

  1. Log in to the terminal of the ESXi/ESX host. Navigate to the virtual machine's directory using the cd command. It is located at:
    /vmfs/volumes/source_datastore/virtual_machine/Confirm the destination directory where the clone will be copied to. Create this directory, if required.
    For example, if this destination directory does not exist:
    /vmfs/volumes/destination_datastore/virtual_machine/
    Create the directory using this command:
    mkdir /vmfs/volumes/destination_datastore/virtual_machine/
  2. Clone the virtual hard disk using the vmkfstools -i command after shutting down the virtual machine:
    # vmkfstools -i /vmfs/volumes/Storage1/examplevm/examplevm.vmdk /vmfs/volumes/Storage2/examplevm_clone.vmdk
    You see output similar to:

    Destination disk format: VMFS thick
    Cloning disk '/vmfs/volumes/Storage1 (3)/examplevm/examplevm.vmdk'...
    Clone: 100% done.

Viewing all articles
Browse latest Browse all 28826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>