Hi, 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:
echo “- – -” > /sys/class/scsi_host/host0/scan You may need to change host0 to other id. Regards. -- Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin, 24-26 September, 2013 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org> On Sat, Sep 7, 2013 at 2:48 AM, Sam Song <samsong8...@gmail.com> wrote: > Hi, forks: > > When I attach a datablock type image to a running vm, I need to reboot vm > to > find the new device and mount it manually. > I want to know how do you attach an image to a vm and make it ready to use? > Is there a designing of opennebula to enable mounting the attached disk > automaticly? > > My environment: > Hypervisor: kvm > Guest os: Ubuntu 12.04, centos 6.3, rhel 6.4 > One version: 3.8.4 > Ds_mad: fs > Tm_mad:shared > > Thanks > > sam > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org