[one-users] disk hot plugging question

Olivier Sallou olivier.sallou at irisa.fr
Fri Nov 2 05:47:48 PDT 2012


Le 11/2/12 12:57 PM, Jaime Melis a écrit :
> 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
>

I am on Debian. I applied it and could mount my new disk, thanks.


Olivier
> cheers,
> Jaime
>
>
> On Fri, Nov 2, 2012 at 12:52 PM, Olivier Sallou
> <olivier.sallou at irisa.fr <mailto: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 <http://keyring.debian.org>)
>     Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto: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 <http://www.OpenNebula.org> | jmelis at opennebula.org
> <mailto:jmelis at opennebula.org>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121102/0b23bffe/attachment-0002.htm>


More information about the Users mailing list