inconsistency in drive allocation
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>
<memory>
<currentMemor
<vcpu>1</vcpu>
<os>
<type>
<boot dev='cdrom'/>
</os>
<features>
<acpi/>
</features>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='file' device='disk'>
<source file='/
<target dev='hda' bus='ide'/>
</disk>
<disk type='file' device='cdrom'>
<source file='/
<target dev='hdc' bus='ide'/>
<readonly/>
</disk>
<interface type='bridge'>
<mac address=
<source bridge='br0'/>
<target dev='vnet3'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5903' listen=
</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/
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
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.