[RHEL6.0] KVM: can't determine target name for virsh detach-disk when repeating attach and detach
Issue
- If a disk is online attached/detached to a RHEL6.0 guest OS repeatedlyusing a same target name (e.g. vda), the target device name recognized by the guest OS is incremented (e.g. vda => vdb => vdc => ...).
- As a result, admins can't easily determine a target name to detach from the guest OS, since there is no target name mapping rule between host and guest.
- How reproducible: Always
Environment
- Red Hat Enterprise Linux 6.0
- kernel-2.6.32-71.el6
- qemu-kvm-0.12.1.2-2.113.el6
- libvirt-0.8.1-27.el6
- libvirt-client-0.8.1-27.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.