inconsistency in drive allocation

Bug #349270 reported by freakalad
2
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Defining a client, via virt-manager, drive allocation seems inconsistent.
On some (DSL, pfSense), the primary HDD is allocated as hdb, and on others (ibex) as hda.

On host:

sudo virsh dumpxml dsl

Connecting to uri: qemu:///system
<domain type='kvm' id='5'>
  <name>dsl</name>
  <uuid>a31756b8-a748-c783-3313-8c95ffff58ea</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type>hvm</type>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/home/jaco/vm/dsl.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <source file='/home/jaco/Downloads/_lin_/_distros_/desktop/dsl-4.4.10.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:75:f0:bb'/>
      <source bridge='br0'/>
      <target dev='vnet3'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5903' listen='127.0.0.1'/>
  </devices>
</domain>

ps aux | grep dsl

root 14528 1.6 2.6 646260 108580 ? S 12:08 1:30 /usr/bin/kvm -M pc -m 512 -smp 1 -monitor pty -drive file=/home/jaco/Downloads/_lin_/_distros_/desktop/dsl-4.4.10.iso,if=ide,media=cdrom,boot=on -drive file=/home/jaco/vm/dsl.img,if=ide -net nic,macaddr=00:16:3e:75:f0:bb,vlan=0 -net tap,fd=18,script=,vlan=0 -usb -vnc 127.0.0.1:3

on client:

sudo fdisk -l

Disk /dev/hdb: 1048 MB, 1048576000 bytes
255 heads, 63 sectors/track, 127 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/hdb1 * 1 127 1020096 83 Linux

Revision history for this message
Chuck Short (zulcss) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:
1. Is this reproducible?
2. If so, what specific steps should we take to recreate this bug? Be as detailed as possible.
This will help us to find and resolve the problem.

Changed in libvirt (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Sorry, we don't have enough information to fix this bug. Please provide more information and reopen the bug if you can reproduce this in Lucid. Thanks!

Changed in libvirt (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.