Bug 842388
Summary: | storage pool cannot recognize multiple devices vis scsi host adapter | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xiaowei Li <xiaoli> |
Component: | libvirt | Assignee: | Osier Yang <jyang> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | dallan, dyuan, gkong, hyao, jwu, mzhan, qcai, rwu, whuang, zpeng |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-28 09:57:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Xiaowei Li
2012-07-23 16:50:15 UTC
the expected result is that it should list 8 paths ( 2 LUns ) s/It should list 2 mpath Luns./ it should list 8 paths ( 2 luns )/ This BZ was apparently closed and reopened in error, so I'm removing the Reopened keyword. (In reply to comment #1) > the expected result is that it should list 8 paths ( 2 LUns ) > > s/It should list 2 mpath Luns./ it should list 8 paths ( 2 luns )/ This behavior is actually correct. The SCSI pool type doesn't understand paths, it simply enumerates the block devices on an HBA. You should use the multipath pool type to get the behavior you are looking for. (In reply to comment #3) > (In reply to comment #1) > > the expected result is that it should list 8 paths ( 2 LUns ) > > > > s/It should list 2 mpath Luns./ it should list 8 paths ( 2 luns )/ > > This behavior is actually correct. The SCSI pool type doesn't understand > paths, it simply enumerates the block devices on an HBA. You should use the > multipath pool type to get the behavior you are looking for. Hi Dave, Thanks for your quick response. I can understand why it not display the mpath and i know how to use the mpath device as the pool now. There is another issue. There is 2 luns(8 path) attached to the HBA. after adding the HBA to the storage pool, i only see 1 lun(4 path). but after reboot, i can see 2 luns (8 path). # virsh vol-list scsi_host5 Name Path ----------------------------------------- unit:0:0:2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0110-lun-2 unit:0:1:2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0111-lun-2 unit:0:2:2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0113-lun-2 unit:0:3:2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0112-lun-2 # ls /dev/disk/by-path/pci-0000\:15\:00.1-fc-0x500173815f9e011* /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0110-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0112-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0110-lun-2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0112-lun-2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0111-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0113-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0111-lun-2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0113-lun-2 # virsh pool-info scsi_host5 Name: scsi_host5 UUID: 877c1223-fba1-cc2b-23ad-c418564cdc43 State: running Persistent: yes Autostart: yes Capacity: 64.00 GB Allocation: 64.00 GB Available: 0.00 >>>reboot the host>>> # virsh vol-list scsi_host5 Name Path ----------------------------------------- unit:0:0:1 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0110-lun-1 unit:0:0:2 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0110-lun-2 unit:0:1:1 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0111-lun-1 unit:0:1:2 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0111-lun-2 unit:0:2:1 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0113-lun-1 unit:0:2:2 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0113-lun-2 unit:0:3:1 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0112-lun-1 unit:0:3:2 /dev/disk/by-path/pci-0000:15:00.0-fc-0x500173815f9e0112-lun-2 # ls /dev/disk/by-path/pci-0000\:15\:00.1-fc-0x500173815f9e011* /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0110-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0112-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0110-lun-2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0112-lun-2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0111-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0113-lun-1 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0111-lun-2 /dev/disk/by-path/pci-0000:15:00.1-fc-0x500173815f9e0113-lun-2 This bz is about libvirt, not virt-manager so I'm changing the component. cannot reproduce this issue on libvirt-1.0.2-1.el7.x86_64 maybe it's due to the time window. so close it. |