Thanks a lot. It works smoothly.

--
Paulo Antonio Leal Rego


2013/6/7 Ruben S. Montero <rsmont...@opennebula.org>

> Hi
>
> You can also use the DRIVER attribute in context
>
> CONTEXT = [ DRIVER="file:",. ....]
>
> Cheers
>
> Ruben
>
>
> On Fri, Jun 7, 2013 at 9:00 PM, Paulo A L Rego <pauloalr....@gmail.com>wrote:
>
>> Hello all,
>>
>> My private cloud is configured with Xen and LVM; but the vm creation with
>> context is failing with the following error: *Error: Device 5632 (vbd)
>> could not be connected. /srv/cloud/one/var//datastores/0/9/disk.2 is not a
>> block device.*
>>
>> My template is as follow:
>> DISK=[ DEV_PREFIX="xvd", DRIVER="phy:", IMAGE_ID="3" ]
>> DISK=[ DEV_PREX="xvd", DRIVER="file:", SIZE="512", TYPE="swap" ]
>>
>> The deployment file created has the following lines:
>> disk = [
>>     'phy:/srv/cloud/one/var//datastores/0/9/disk.0,xvda,w',
>>     'file:/srv/cloud/one/var//datastores/0/9/disk.1,hda,w',
>>     '*phy*:/srv/cloud/one/var//datastores/0/9/disk.2,hdc,r',
>> ]
>>
>> disk.0 is the file system, disk.1 is the swap and disk.2 is the iso file
>> created for contextualization..
>> when i manually alter *phy:* for *file:*, the error disappears..
>>
>> OpenNebula will always set phy: for the contextualization disk?
>> How can i fix this problem? Any tip?
>>
>> Ps:. The vm is created normally if the contextualization is not set.
>>
>> Thanks
>> --
>> Paulo Antonio Leal Rego
>>
>> _______________________________________________
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> --
> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to