<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 11:56 AM, Martin Polednik <span dir="ltr"><<a href="mailto:mpolednik@redhat.com" target="_blank">mpolednik@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">On 16/03/17 08:23 +0100, gflwqs gflwqs wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi list!<br>
When we upgraded our ovirt environment to 4.1 we get the virtio-scsi<br>
interface as default for virtual disks.<br>
We have seen a difference in drive order from when we used the virtio<br>
interface.<br>
<br>
Before when we added disks the order of the drives were set by which order<br>
the disks was created.<br>
So if i had 1 disk as os disk it became vda and added a 50 GB disk that<br>
disk became vdb and then added another 8GB disk that became vdc.<br>
<br>
But now when i add two additional disks with the virtio-scsi interface like<br>
the above when i reboot the vm the 50GB disk become sdc and the 8GB disk<br>
become sdb even that i created the 50GB disk first?<br>
How is the order decided in the virtio-scsi interface?<br>
What can i do to ensure that the disks come in the order that i create them?<br>
<br>
Regards<br>
Christian<br>
</blockquote>
<br></div></div>
Could you post the XML (virsh -r list, note the domain<br>
number and virsh -r dumpxml $domainnumber) before and after adding the<br>
disks? Need to see whether there are also any iothreads or anything<br>
else.<br></blockquote><div><br></div><div>It doesn't matter - the order of disk discovery on the SCSI bus (by udev?) is quite random.</div><div>You must use /dev/disk/by-id/scsi-...</div><div><br></div><div>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks,<br>
mpolednik<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>