--Apple-Mail=_9E038410-3C50-4055-B967-7FE43616EA54
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
On 16 Mar 2017, at 11:12, Yaniv Kaul <ykaul(a)redhat.com> wrote:
=20
=20
=20
On Thu, Mar 16, 2017 at 11:56 AM, Martin Polednik =
<mpolednik(a)redhat.com
<mailto:mpolednik@redhat.com>> wrote:
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.
=20
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.
=20
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?
=20
Regards
Christian
=20
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.
=20
It doesn't matter - the order of disk discovery on the SCSI bus (by =
udev?) is
quite random.
You must use /dev/disk/by-id/scsi-=E2=80=A6
well, it may in case we are actually doing something wrong with =
controllers or iothreads due to recent changes in that area.
=20
Y.
=20
=20
Thanks,
mpolednik
=20
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users =
<
http://lists.ovirt.org/mailman/listinfo/users>
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users =
<
http://lists.ovirt.org/mailman/listinfo/users>
=20
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users =
<
http://lists.ovirt.org/mailman/listinfo/users>
--Apple-Mail=_9E038410-3C50-4055-B967-7FE43616EA54
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote
type=3D"cite" class=3D""><div =
class=3D"">On 16 Mar 2017, at 11:12, Yaniv Kaul <<a =
href=3D"mailto:ykaul@redhat.com"
class=3D"">ykaul(a)redhat.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div
class=3D""><div =
dir=3D"ltr" style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><div
=
class=3D"gmail_extra"><br
class=3D"Apple-interchange-newline"><br =
class=3D""><div class=3D"gmail_quote">On Thu, Mar 16, 2017 at
11:56 AM, =
Martin Polednik<span
class=3D"Apple-converted-space"> </span><span =
dir=3D"ltr" class=3D""><<a
href=3D"mailto:mpolednik@redhat.com" =
target=3D"_blank"
class=3D"">mpolednik(a)redhat.com</a>&gt;</span><span =
class=3D"Apple-converted-space"> </span>wrote:<br =
class=3D""><blockquote class=3D"gmail_quote"
style=3D"margin: 0px 0px =
0px 0.8ex; border-left-width: 1px; border-left-style: solid; =
border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div =
class=3D"gmail-HOEnZb"><div class=3D"gmail-h5">On 16/03/17
08:23 +0100, =
gflwqs gflwqs wrote:<br class=3D""><blockquote
class=3D"gmail_quote" =
style=3D"margin: 0px 0px 0px 0.8ex; border-left-width: 1px; =
border-left-style: solid; border-left-color: rgb(204, 204, 204); =
padding-left: 1ex;">Hi list!<br class=3D"">When we upgraded our
ovirt =
environment to 4.1 we get the virtio-scsi<br class=3D"">interface as =
default for virtual disks.<br class=3D"">We have seen a difference in =
drive order from when we used the virtio<br class=3D"">interface.<br =
class=3D""><br class=3D"">Before when we added disks the
order of the =
drives were set by which order<br class=3D"">the disks was created.<br
=
class=3D"">So if i had 1 disk as os disk it became vda and added a 50 GB =
disk that<br class=3D"">disk became vdb and then added another 8GB disk =
that became vdc.<br class=3D""><br class=3D"">But now when
i add two =
additional disks with the virtio-scsi interface like<br class=3D"">the =
above when i reboot the vm the 50GB disk become sdc and the 8GB disk<br =
class=3D"">become sdb even that i created the 50GB disk first?<br =
class=3D"">How is the order decided in the virtio-scsi interface?<br =
class=3D"">What can i do to ensure that the disks come in the order that =
i create them?<br class=3D""><br class=3D"">Regards<br
=
class=3D"">Christian<br class=3D""></blockquote><br
=
class=3D""></div></div>Could you post the XML (virsh -r list,
note the =
domain<br class=3D"">number and virsh -r dumpxml $domainnumber) before =
and after adding the<br class=3D"">disks? Need to see whether there are =
also any iothreads or anything<br class=3D"">else.<br =
class=3D""></blockquote><div class=3D""><br
class=3D""></div><div =
class=3D"">It doesn't matter - the order of disk discovery on the SCSI =
bus (by udev?) is quite random.</div><div class=3D"">You must use =
/dev/disk/by-id/scsi-=E2=80=A6</div></div></div></div></div></blockquote><=
div><br class=3D""></div>well, it may in case we are actually
doing =
something wrong with controllers or iothreads due to recent changes in =
that area.</div><div><br class=3D""><blockquote
type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr"
style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div class=3D""><br
class=3D""></div><div =
class=3D"">Y.</div><div
class=3D""> </div><blockquote =
class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; =
border-left-width: 1px; border-left-style: solid; border-left-color: =
rgb(204, 204, 204); padding-left: 1ex;"><br
class=3D"">Thanks,<br =
class=3D"">mpolednik<div class=3D"gmail-HOEnZb"><div =
class=3D"gmail-h5"><br class=3D""><br
class=3D""><blockquote =
class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; =
border-left-width: 1px; border-left-style: solid; border-left-color: =
rgb(204, 204, 204); padding-left: =
1ex;">______________________________<wbr
class=3D"">_________________<br =
class=3D"">Users mailing list<br class=3D""><a =
href=3D"mailto:Users@ovirt.org" target=3D"_blank" =
class=3D"">Users(a)ovirt.org</a><br class=3D""><a =
href=3D"http://lists.ovirt.org/mailman/listinfo/users"
rel=3D"noreferrer" =
target=3D"_blank"
class=3D"">http://lists.ovirt.org/mailman<wbr
=
class=3D"">/listinfo/users</a><br
class=3D""></blockquote><br =
class=3D"">______________________________<wbr =
class=3D"">_________________<br class=3D"">Users mailing
list<br =
class=3D""><a href=3D"mailto:Users@ovirt.org"
target=3D"_blank" =
class=3D"">Users(a)ovirt.org</a><br class=3D""><a =
href=3D"http://lists.ovirt.org/mailman/listinfo/users"
rel=3D"noreferrer" =
target=3D"_blank"
class=3D"">http://lists.ovirt.org/mailman<wbr
=
class=3D"">/listinfo/users</a><br =
class=3D""></div></div></blockquote></div><br
class=3D""></div></div><span=
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" =
class=3D"">_______________________________________________</span><br
=
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span
style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">Users mailing =
list</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"mailto:Users@ovirt.org" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;"
class=3D"">Users(a)ovirt.org</a><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"http://lists.ovirt.org/mailman/listinfo/users" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" =
class=3D"">http://lists.ovirt.org/mailman/listinfo/users<...
uote></div><br class=3D""></body></html>=
--Apple-Mail=_9E038410-3C50-4055-B967-7FE43616EA54--