<div>I'm experimenting with how to attach storage to a guest virtual machine (I sent another message to th elist about that as it's slightly different)</div><div><br></div><div>Looking in the XML files for my virtual machine, I see this:</div>

<div><br></div><div><disk type='file' device='disk'></div><div>  <driver name='qemu' type='qcow2'/></div><div>  <source file='/vm/myvm/tmpeuiVc9.qcow2'/></div><div>

  <target dev='hda' bus='ide'/></div><div>  <address type='drive' controller='0' bus='0' unit='0'/></div><div></disk></div><div><br></div><div>However, /dev/hda is not a device in the guest. It is /dev/sda. It's not really a problem in it's own right, but it's one of several connected things which don't make sense. Is there some explanation for this?</div>

<div><br></div><div>I believe this is linked to some weirdness when I attach some extra storage like so:</div><div><br></div><div><div>virsh attach-disk myvm /dev/lvm-group1/mystorage sdb --driver qemu --persistent</div>
</div>
<div><br></div><div>This adds the following stanza:</div><div><br></div><div><div><disk type='block' device='disk'></div><div>  <driver name='qemu' type='raw'/></div><div>  <source dev='/dev/lvm-group1/mystorage'/></div>

<div>  <target dev='sdb' bus='scsi'/></div><div>  <address type='drive' controller='0' bus='0' unit='1'/></div><div></disk></div></div><div><br></div><div>

Looks about right. In the guest though, it pushes /dev/sda (root and swap are here on sda1 and sda2) upto /dev/sdb (sdb1 and sdb2). Somehow it still boots correctly despite fstab referrencing /dev/sda1 and /dev/sda2 for / and swap. The new /dev/sda is this storage I tried to add as sdb. What could be causing this?</div>

<div><br></div><div>Thanks,</div><div><br></div><div>Douglas</div>