[one-users] disk hot plugging question

Jaime Melis jmelis at opennebula.org
Fri Nov 2 04:57:16 PDT 2012


Hi Olivier,

That depends on your os/distro/kernel, but you can google for
"rescan/rediscover scsi <distro>". You'll need to look for something like
this article [1] that will tell you to do something in the lines of:

$ echo "- - -" > /sys/class/scsi_host/host0/scan

[1] https://tuf.hds.com/gsc/bin/view/Main/LinuxDynamicScan

cheers,
Jaime


On Fri, Nov 2, 2012 at 12:52 PM, Olivier Sallou <olivier.sallou at irisa.fr>wrote:

>  Hi,
> once a disk is attached to a VM, what should be done to see it ?
>
> **********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************Fri Nov  2 12:01:15 2012 [VMM][I]: mkimage: Making filesystem of 60M and type ext4 at genokvm10:/var/lib/one//datastores/0/519/disk.2
> Fri Nov  2 12:01:15 2012 [VMM][I]: ExitCode: 0
> Fri Nov  2 12:01:15 2012 [VMM][I]: Successfully execute transfer manager driver operation: tm_attach.
> Fri Nov  2 12:01:16 2012 [VMM][I]: ExitCode: 0
> Fri Nov  2 12:01:16 2012 [VMM][I]: Successfully execute virtualization driver operation: attach_disk.
> Fri Nov  2 12:01:16 2012 [VMM][E]: VM Disk Successfully attached.
>
> My attach looks correct but a fdisk does not show the disk.
>
> Thanks
>
> Olivier**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
>
>  --
>
>
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121102/e45e68dc/attachment-0002.htm>


More information about the Users mailing list