How do I convert a Xen guest which is not contained in any storage pool using virt-v2v?
Issue
- While converting a XEN guest as a KVM guest by virt-v2v, it fails with the below error messages if the storage for the Xen guest does not belong to any storage pools.
virt-v2v: Failed to retrieve volume information for /var/lib/xen/images/image.img. This could be because the volume doesn't exist,
or because the volume exists but is not contained in a storage pool.
In the latter case, you must create a storage pool of the correct type to contain the volume. Note that you do not have to
re-create or move the volume itself, only define a pool which contains it. libvirt will automatically detect the volume when
it scans the pool after creation.
virt-manager is able to create storage pools. Select Edit->Connection Details from the application menu.
Storage pools are displayed in the Storage tab.
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5 Xen
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.