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 <[email protected]>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
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to