<div dir="ltr">Hi,<div><br></div><div>Once the disk is attached, it is up to the guest OS to detect and mount it. In ubuntu, you can rescan the scsi bus with the command:</div><div><br></div>echo “- – -” > /sys/class/scsi_host/host0/scan<div>
<br></div><div>You may need to change host0 to other id.</div><div><br></div><div>Regards.</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>Join us at <a href="http://opennebulaconf.com" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
--<div>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Sat, Sep 7, 2013 at 2:48 AM, Sam Song <span dir="ltr"><<a href="mailto:samsong8610@gmail.com" target="_blank">samsong8610@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, forks:<br>
<br>
When I attach a datablock type image to a running vm, I need to reboot vm to<br>
find the new device and mount it manually.<br>
I want to know how do you attach an image to a vm and make it ready to use?<br>
Is there a designing of opennebula to enable mounting the attached disk<br>
automaticly?<br>
<br>
My environment:<br>
Hypervisor: kvm<br>
Guest os: Ubuntu 12.04, centos 6.3, rhel 6.4<br>
One version: 3.8.4<br>
Ds_mad: fs<br>
Tm_mad:shared<br>
<br>
Thanks<br>
<br>
sam<br>
<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>
</blockquote></div><br></div>