<div dir="ltr">Hello Lars,<div><br></div><div style>this is a bug. It should work without explicitely setting the DRIVER attribute. I've just created a bug report:</div><div style><a href="http://dev.opennebula.org/issues/2131">http://dev.opennebula.org/issues/2131</a></div>

<div style><br style="font-family:arial,sans-serif;font-size:13px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<span style="font-size:13px;font-family:arial,sans-serif">Finally, one VM actually seems to successfully get its image attached,<br></span><span style="font-size:13px;font-family:arial,sans-serif">but then I don't see the image inside the Ubuntu guest, not even after<br>

</span><span style="font-size:13px;font-family:arial,sans-serif">I modprobe pci_hotplug and acpiphp, detach it, and attach it again.</span></blockquote><div><br></div><div style>Well, that depends on the kernel version and many other factors. It's up to the guest system to detect the new drive. Can you see it if you reboot the VM?</div>

<div style><br></div><div style>cheers,<br>Jaime </div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 1, 2013 at 1:13 PM, Lars Buitinck <span dir="ltr"><<a href="mailto:L.J.Buitinck@uva.nl" target="_blank">L.J.Buitinck@uva.nl</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/5/31  <<a href="mailto:users-request@lists.opennebula.org">users-request@lists.opennebula.org</a>>:<br>
> Date: Fri, 31 May 2013 15:28:26 +0200<br>
> From: Lars Buitinck <<a href="mailto:L.J.Buitinck@uva.nl">L.J.Buitinck@uva.nl</a>><br>
> To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
> Subject: [one-users] unable to attach disks to VMs: 'driver' expects a<br>
>         driver name and other error messages<br>
> Message-ID:<br>
>         <<a href="mailto:CAKz-xUfiAt1ZzShu8OHqa-97OS8wmfOvHobEbQ-MACMn5K_jAA@mail.gmail.com">CAKz-xUfiAt1ZzShu8OHqa-97OS8wmfOvHobEbQ-MACMn5K_jAA@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=UTF-8<br>
<div class="im">><br>
> I've been struggling for hours now trying to attach disk images to<br>
> running VMs in OpenNebula. While for two of my five VMs, this has<br>
> actually worked, it's failing for the three remaining ones.<br>
><br>
> I've successfully created images, using DEV_PREFIX=vd; this is the<br>
> setup that eventually worked for two of the VMs. When I try to attach<br>
> these disks, I get various different error messages, depending on the<br>
> VM.<br>
<br>
</div>[snip]<br>
<div class="im"><br>
> But filling in a DRIVER in the image template doesn't work either.<br>
> Making a new VM with either a "raw" or other driver also fails. (I<br>
> must admit I don't understand what this "driver" field really does and<br>
> I couldn't find anything in the documentation.)<br>
<br>
</div>Just to let you know, I've resolved the problem by setting DRIVER to<br>
"raw" at image construction and filling in the TARGET field with<br>
"vdb". Strangely, the disks still emerge as /dev/vda, which is<br>
actually convenient for sysad purposes, but still somewhat surprising.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
</font></span><div class="HOEnZb"><div class="h5">Lars Buitinck<br>
Scientific programmer, ILPS<br>
University of Amsterdam<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Join us at <a href="http://opennebulaconf.com/" style="color:rgb(17,85,204)" target="_blank">OpenNebulaConf2013</a> in Berlin, <span><span>24-26 September, 2013</span></span><br>

--<div>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>

</div>
</div>