Hide Forgot
Description of problem: virsh vol-list only displays one of the multipath Version-Release number of selected component (if applicable): - libvirt-0.8.7-6.el6.x86_64 - qemu-kvm-0.12.1.2-2.144.el6.x86_64 - kernel-2.6.32-115.el6.x86_64 - device-mapper-multipath-0.4.9-31.el6.x86_64 How reproducible: 2/2 Steps to Reproduce: 1. # multipath -l3 mpathc (3600a0b80005adb0b0000ab2d4cae9254) dm-3 IBM,1726-4xx FAStT size=20G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw |-+- policy='round-robin 0' prio=-1 status=active | `- 9:0:2:0 sdd 8:48 active undef running `-+- policy='round-robin 0' prio=-1 status=enabled `- 9:0:3:0 sde 8:64 active undef running mpathb (3600a0b80005ad1d7000093604cae912f) dm-0 IBM,1726-4xx FAStT size=20G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw |-+- policy='round-robin 0' prio=-1 status=active | `- 8:0:1:0 sdb 8:16 active undef running `-+- policy='round-robin 0' prio=-1 status=enabled `- 8:0:3:0 sdc 8:32 active undef running 2. # ll /dev/mapper/ total 0 crw-rw----. 1 root root 10, 58 Feb 14 08:58 control lrwxrwxrwx. 1 root root 7 Feb 14 09:08 mpathb -> ../dm-0 lrwxrwxrwx. 1 root root 7 Feb 14 09:08 mpathbp1 -> ../dm-1 lrwxrwxrwx. 1 root root 7 Feb 14 09:08 mpathbp2 -> ../dm-2 lrwxrwxrwx. 1 root root 7 Feb 14 09:08 mpathc -> ../dm-3 lrwxrwxrwx. 1 root root 7 Feb 14 09:08 mpathcp1 -> ../dm-4 lrwxrwxrwx. 1 root root 7 Feb 14 09:08 mpathcp2 -> ../dm-5 3. # virsh pool-dumpxml mpath <pool type='mpath'> <name>mpath</name> <uuid>f4b73e42-a253-8825-ed68-0843cc606d6c</uuid> <capacity>21481278464</capacity> <allocation>21481278464</allocation> <available>0</available> <source> </source> <target> <path>/dev/mapper</path> <permissions> <mode>0700</mode> <owner>-1</owner> <group>-1</group> </permissions> </target> </pool> 4. # virsh vol-list mpath Name Path ----------------------------------------- dm-3 /dev/mapper/mpathc Actual results: Only one storage is displayed Expected results: Display all storage connected like Name Path ----------------------------------------- dm-3 /dev/mapper/mpathc dm-0 /dev/mapper/mpathc Additional info:
http://www.redhat.com/archives/libvir-list/2011-February/msg00442.html patch posted to upstream in reviewing process.
patch got pushed upstream.
patch posted internally. move to POST
Verified this bug PASS with libvirt-0.8.7-7.el6.x86_64 - kernel-2.6.32-113.el6.x86_64 - qemu-kvm-0.12.1.2-2.147.el6.x86_64 On step4, could see the following # virsh vol-list mpath Name Path ----------------------------------------- dm-0 /dev/mapper/mpathc dm-1 /dev/mapper/mpathb
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html