Public bug reported:

libvirt-bin         0.9.8-2ubuntu1
qemu-kvm       1.0+noroms-0ub

my host has attach vda~vdj virtual disks.  i don't want to attach new
disk in sequential order now. so i add a new disk directly name "vdz".

virsh # attach-disk vm1 /dev/mapper/mpath97 vdz --persistent
Disk attached successfully

by check the guest profile, vdz has added into xml
--------------------------
 <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/mapper/mpath73'/>
      <target dev='vdi' bus='virtio'/>
      <alias name='virtio-disk8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x12' 
function='0x0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/mapper/mpath97'/>
      <target dev='vdz' bus='virtio'/>
      <alias name='virtio-disk25'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' 
function='0x0'/>
    </disk>
----------------------------------

however, the guest show me "vdj" disk name  which still follow in order.

[root@localhost ~]# fdisk  -l | grep vd
Disk /dev/vda: 6442 MB, 6442450944 bytes
/dev/vda1   *           3        1018      512000   83  Linux
/dev/vda2            1018       12484     5778432   8e  Linux LVM
Disk /dev/vdb: 1073 MB, 1073741824 bytes
Disk /dev/vdc: 1073 MB, 1073741824 bytes
Disk /dev/vdd: 1073 MB, 1073741824 bytes
Disk /dev/vde: 1073 MB, 1073741824 bytes
Disk /dev/vdf: 1073 MB, 1073741824 bytes
Disk /dev/vdg: 941 MB, 941752320 bytes
Disk /dev/vdh: 941 MB, 941752320 bytes
Disk /dev/vdi: 941 MB, 941752320 bytes
Disk /dev/vdj: 2147 MB, 2147483648 bytes

it also happen on sd*, hd* device name.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1035364

Title:
  guest display wrong disk name than expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1035364/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to