Hi, Carlos:

 

Thanks for your reply. 

I’ve got that there is no need to reboot the guest. But, is there a method
to trigger the whole thing happen *automatically* in a guest OS? 

 

Thanks

 

Sam

 

发件人: Carlos Martín Sánchez [mailto:[email protected]] 
发送时间: 2013年9月9日 17:34
收件人: Sam Song
抄送: users
主题: Re: [one-users] Question about attach_disk on one-3.8.4

 

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 “- �C -” > /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 | [email protected] | @OpenNebula
<http://twitter.com/opennebula> 

 

On Sat, Sep 7, 2013 at 2:48 AM, Sam Song <[email protected]> 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
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

 

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to