Hi,<div><br></div><div>The way to go would be to create a datablock using "oneimage create": <a href="http://opennebula.org/documentation:rel3.4:img_template">http://opennebula.org/documentation:rel3.4:img_template</a></div>
<div><br></div><div>Let me know if that doesn't work,</div><div><br></div><div>-Tino</div><div><br clear="all">--<br>Constantino Vázquez Blanco, MSc | <a href="http://dsa-research.org/tinova" target="_blank">dsa-research.org/tinova</a><br>
Virtualization Technology Engineer / Researcher<br>OpenNebula - The Open-Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @tinova79 | @OpenNebula<br>
<br>
<br><br><div class="gmail_quote">On Fri, May 18, 2012 at 11:48 AM, 张光鹏 <span dir="ltr"><<a href="mailto:zhanggp@neusoft.com" target="_blank">zhanggp@neusoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div style="MARGIN:10px">
<div>Hi,all</div>
<div style="TEXT-INDENT:2em"><span>I am doing</span> <span>a virtual
machine</span> <span>to</span> <span>create</span> <span>multiple data</span> <span>disk</span> <span>experiments, <span>How</span> <span>do</span> <span>I need to</span> <span>configure my</span> <span>virtual</span> <span>machine</span> <span>template
file?</span></span></div>
<div style="TEXT-INDENT:2em"><span><span><span>I
have</span> <span>experimented</span> <span>with</span>
<span>several template like:</span></span></span></div><span><span><span>
<div style="TEXT-INDENT:6em">DISK = [IMAGE_ID="24"]</div>
<div style="TEXT-INDENT:6em"> </div>
<div style="TEXT-INDENT:6em">DISK = [ TYPE = block,</div>
<div style="TEXT-INDENT:6em">SIZE = 1024, </div>
<div style="TEXT-INDENT:6em"> TARGET = hdb ]</div>
<div> but i got an error
: prolog, undefined source disk image in VM template
.</div>
<div> <span>Even though I</span> <span>added</span> <span>the</span> <span>source
property, <span>the</span> <span>error</span> <span>will still</span> <span>appear.</span></span></div>
<div style="TEXT-INDENT:2em"><span><span>So,if i want use
opennebula to add 1 or 2 or some more disk to the new virtual machine, how
should i do?</span></span></div></span></span></span></div>
<div style="TEXT-INDENT:2em"><span>Need i to</span> <span>manually
create</span> <span>vmware</span> <span>vmdk</span> <span>format</span> <span>data disk and specify it in my vm
template?</span></div>
<div style="TEXT-INDENT:2em"><span>Please help me out.</span></div>
<div style="TEXT-INDENT:2em"><span></span> </div>
<div style="TEXT-INDENT:2em"><span>Thanks.</span></div>
<hr style="WIDTH:210px;min-height:1px" align="left" color="#b5c4df" size="1">
<div><span>
<div>
<div>张光鹏</div>
<div>tel: 13718913184</div>
<div>mail: <a href="mailto:zhanggp@neusoft.com" target="_blank">zhanggp@neusoft.com</a></div>
<div>移动互联网事业部</div>
<div><img src="cid:_Foxmail.0@CD26CD44-202C-4DB6-BFB4-8080B381C833"></div>
<div>东软集团股份有限公司</div>
<div><a href="http://www.neusoft.com" target="_blank">http://www.neusoft.com</a></div>
<div> </div></div></span></div><font face="monospace">---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) <br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of <br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is <br>
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying <br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please <br>
immediately notify the sender by return e-mail, and delete the original message and all copies from <br>
your system. Thank you. <br>
---------------------------------------------------------------------------------------------------</font>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>