[ovirt-users] virtio-scsi drive order?

Martin Polednik mpolednik at redhat.com
Thu Mar 16 09:56:24 UTC 2017


On 16/03/17 08:23 +0100, gflwqs gflwqs wrote:
>Hi list!
>When we upgraded our ovirt environment to 4.1 we get the virtio-scsi
>interface as default for virtual disks.
>We have seen a difference in drive order from when we used the virtio
>interface.
>
>Before when we added disks the order of the drives were set by which order
>the disks was created.
>So if i had 1 disk as os disk it became vda and added a 50 GB disk that
>disk became vdb and then added another 8GB disk that became vdc.
>
>But now when i add two additional disks with the virtio-scsi interface like
>the above when i reboot the vm the 50GB disk become sdc and the 8GB disk
>become sdb even that i created the 50GB disk first?
>How is the order decided in the virtio-scsi interface?
>What can i do to ensure that the disks come in the order that i create them?
>
>Regards
>Christian

Could you post the XML (virsh -r list, note the domain
number and virsh -r dumpxml $domainnumber) before and after adding the
disks? Need to see whether there are also any iothreads or anything
else.

Thanks,
mpolednik

>_______________________________________________
>Users mailing list
>Users at ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list