| Summary: | Can not found the disk after hotplug it to the RHEL Fully Virtualized guest via attach-device | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | wangyimiao <yimwang> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.7 | CC: | ajia, dallan, dyuan, llim, rwu, yoyzhang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-15 19:45:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
That issue can be reproduce in rhel5.6 host. libvirt-0.8.2-15.el5 kernel-xen-2.6.18-238.el5 xen-3.0.3-120.el5 Sorry for wrong version build verison,Clarify the version build: Version-Release number of selected component (if applicable): libvirt-0.8.2-18.el5 xen-3.0.3-130.el5 kernel-xen-2.6.18-259.el5 And retest it in RHEL5.5 domain guest again.It seems fine,hotplug disk "/dev/xvdb" can be shown in 'fdisk -l' command. Run command 'fdisk -l' in guest # fdisk -l Disk /dev/hda: 4194 MB, 4194304000 bytes 255 heads, 63 sectors/track, 509 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 509 3984120 8e Linux LVM Disk /dev/xvdb: 10 MB, 10485760 bytes 255 heads, 63 sectors/track, 1 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/xvdb doesn't contain a valid partition table This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |
Description of problem: Can not found the hotplug disk after disk hotplug to the RHEL6.0 guest. Version-Release number of selected component (if applicable): libvirt-0.8.2-18.el5 kvm-83-231.el5 kernel-xen-2.6.18-259.el5 How reproducible: 5/5 Steps to Reproduce: 1. Defined and started a RHEL6.0 domian. # virsh start http_test Domain http_test started 2.Create a image. # qemu-img create -f raw /var/lib/xen/images/foo.img 10M 3. Create a disk desription file as following XML: # cat disk.xml <disk type='file' device='disk'> <driver name='tap' type='aio'/> <source file='/var/lib/xen/images/foo.img'/> <target dev='xvdb' bus='xen'/> </disk> 4. # virsh attach-device http_test disk.xml Device attached successfully 5. Run command 'fdisk -l' in guest # fdisk -l Disk /dev/sda: 6442 MB, 6442450944 bytes 255 heads, 63 sectors/track, 783 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00057825 Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 784 5778432 8e Linux LVM Partition 2 does not end on cylinder boundary. Disk /dev/dm-0: 3800 MB, 3800039424 bytes 255 heads, 63 sectors/track, 461 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 2113 MB, 2113929216 bytes 255 heads, 63 sectors/track, 257 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Actual results: Can not found the hotplug disk "/dev/xvdb" after disk hotplug to the RHEL6.0 Fully Virtualized guest. Expected results: Hotplug disk "/dev/xvdb" should be shown in step5.