How to create Multipath Storage Pools using virsh ?
Issue
-
While running virt-v2v to migrate guests from Xen to KVM and the following error is observed. Is there any way to add a storage storage pool containing an entry for /dev/mapper/mpathX ?
virt-v2v: Failed to retrieve volume information for /dev/mapper/mpathX. 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. -
The How do I convert a Xen guest which is not contained in any storage pool using virt-v2v? advices to add Multipath-Pools using Virt-Manager GUI. It does not explain step-by-step how to create pools using virsh.
-
The pool-type mpath is not available with virt-manager on Red Hat Enterprise Linux 5.7 (virt-manager-0.6.1-14.el5) The option is available with virt-manager on Red Hat Enterprise Linux 6.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
