VMmanager 5 KVM: Administrator guide

Converting virtual disk from RAW into Qcow2

You can convert the following objects into Qcow2

  • A VM image from the RAW storage;
  • The whole RAW storage.

Conversion is performed only from the console of the cluster master node. Stop virtual machines before you start.

Conversion is supported for the following types of storages:

  • File storages
  • LVM
  • NFS

Converting a storage

The RAW virtual disk is converted into the Qcow2 storage. 

Before you start, suspend the virtual machines to which the disk is mounted.  

Execute the command: 

cd /usr/local/mgr5/
sbin/mgrctl -m vmmgr volume.convert old_pool=<old_pool> new_pool=<new_pool> volume=<volume>
View details

Converting a disk

All the  RAW virtual disks will be imported into the Qcow2 storage.

Before you start, suspend the virtual machines to which the disk is mounted.  

Execute the command: 

cd /usr/local/mgr5/
sbin/mgrctl -m vmmgr pool.convert old_pool=<old_pool> new_pool=<new_pool>
View details