[one-users] xen block type for contextualization

Ruben S. Montero rsmontero at opennebula.org
Fri Jun 7 13:59:17 PDT 2013


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.alu at 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 at 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 | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130607/c83cf8eb/attachment-0002.htm>


More information about the Users mailing list