Skip to content

Cloning a KVM Virtual Machine

VSI recommends cloning your KVM virtual machine using CLI to avoid data loss and ensure proper cloning.

  1. Turn off your virtual machine using the virsh destroy vm-name command.

  2. Run the following:

    virt-clone -o original-vm-name -n new-vm-name --auto-clone --nonsparse

    This command will clone the VM along with the associated disks and ensure that they are thick-provisioned.

Note

Thick provisioning of OpenVMS disks corresponds to full preallocation of disk space in KVM virtual machines configuration.