<br clear="all"><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Hello all,</span></div><div><font class="Apple-style-span" face="arial, sans-serif">I want to create a VM having two disks : an OS and a datablock space for stroring data.</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">I succed to create the data block image using this template :</font></div><div><font class="Apple-style-span" face="arial, sans-serif">-------------------------</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">> cat DB_template</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" face="arial, sans-serif">NAME = “data"</font></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" face="arial, sans-serif">TYPE = DATABLOCK</font></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" face="arial, sans-serif">DESCRIPTION = “user data”</font></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" face="arial, sans-serif">PUBLIC = no</font></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" face="arial, sans-serif">PERSISTENT = yes</font></span></div>
<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" face="arial, sans-serif">SIZE = 100</font></span></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><font class="Apple-style-span" face="arial, sans-serif">FSTYPE = ext2</font></span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">> oneimage create DB_template</font></div><div><font class="Apple-style-span" face="arial, sans-serif">> oneimage list </font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"> 60 onadmin ubuntu_11 OS Nov 21, 2011 16:25 No No used 3</font></div><div><font class="Apple-style-span" face="arial, sans-serif"> 72 onadmin data DB Nov 23, 2011 14:54 No Yes rdy 0</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">But The creation of a VM having two disk attributes fails.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">My VM template is as follow :</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">-------------------------------</span></div><div><font class="Apple-style-span" face="arial, sans-serif">> cat VM_template</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 255); "><div style="font-family: arial, sans-serif; font-size: 13px; ">
NAME = "vm"</div><div style="font-family: arial, sans-serif; font-size: 13px; ">CPU = 1</div><div style="font-family: arial, sans-serif; font-size: 13px; ">MEMORY = 1024</div><div style="font-family: arial, sans-serif; font-size: 13px; ">
DISK = [ image = "ubuntu_11",</div><div style="font-family: arial, sans-serif; font-size: 13px; "> target = "hda",</div><div style="font-family: arial, sans-serif; font-size: 13px; "> readonly = "no"]</div>
<div style="font-family: arial, sans-serif; font-size: 13px; ">DISK = [ IMAGE_ID = 72 ]</div><div style="font-family: arial, sans-serif; font-size: 13px; ">FEATURE = [ acpi = "yes"]</div><div style="font-family: arial, sans-serif; font-size: 13px; ">
NIC = [ NETWORK = "NET_PUB" ]</div><div style="font-family: arial, sans-serif; font-size: 13px; ">NIC = [ NETWORK = "LAN " ]</div><div style="font-family: arial, sans-serif; font-size: 13px; ">GRAPHICS = [ type = "vnc", listen="127.0.0.1", port="-1"]</div>
<div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; ">when i execute the command line :</div><div style="font-family: arial, sans-serif; font-size: 13px; ">
> onevm create VM_template</div><div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; "> I have this error :</div><div style="font-family: arial, sans-serif; font-size: 13px; ">
----------------------------------</div><div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 Command execution fail: /var/tmp/one/vmm/kvm/deploy /data1/opennebula/var//704/images/deployment.0</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 STDERR follows.</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 error: Failed to create domain from /data1/opennebula/var//704/images/deployment.0</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 error: internal error unable to start guest: char device redirected to /dev/pts/6</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 qemu: too many IDE bus</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 ExitCode: 255</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: DEPLOY FAILURE 704 -</font></div></div><div style="font-family: arial, sans-serif; font-size: 13px; ">
<br></div><div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; ">AnyOne can help me ?</div>
<div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; ">thanks in advance.</div><div style="font-family: arial, sans-serif; font-size: 13px; ">
<br></div></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></div>-- <br>Salma REBAI<br>Ingénieur Informatique<br>
Mastère Réseaux et Systèmes Multimédia<br><a href="mailto:rebai.salma@gmail.com" target="_blank">rebai.salma@gmail.com</a><br>