[one-users] Problem with DataBlock iamges
Ruben S. Montero
rubensm at dacya.ucm.es
Wed Nov 23 13:33:00 PST 2011
Hi,
There is a limitation on the number of IDE bus in KVM. Sometimes the
automatic disk placement in the IDE bus by OpenNebula hits this
limitation.
You can try to fix the targets for both disks.
...
DISK = [ IMAGE_ID = 72, TARGET=hdb ]
Also SCSI may help... But before trying that can you check the
deployment.0 file (generated in /data1/opennebula/var//704/)... What
targets are being used?
Cheers
Ruben
On Wed, Nov 23, 2011 at 3:59 PM, salma rebai <rebai.salma at gmail.com> wrote:
>
> Hello all,
> I want to create a VM having two disks : an OS and a datablock space for
> stroring data.
> I succed to create the data block image using this template :
> -------------------------
>> cat DB_template
> NAME = “data"
> TYPE = DATABLOCK
> DESCRIPTION = “user data”
> PUBLIC = no
> PERSISTENT = yes
> SIZE = 100
> FSTYPE = ext2
>> oneimage create DB_template
>> oneimage list
> 60 onadmin ubuntu_11 OS Nov 21, 2011 16:25 No No used 3
> 72 onadmin data DB Nov 23, 2011 14:54 No Yes rdy
> 0
>
> But The creation of a VM having two disk attributes fails.
> My VM template is as follow :
> -------------------------------
>> cat VM_template
> NAME = "vm"
> CPU = 1
> MEMORY = 1024
> DISK = [ image = "ubuntu_11",
> target = "hda",
> readonly = "no"]
> DISK = [ IMAGE_ID = 72 ]
> FEATURE = [ acpi = "yes"]
> NIC = [ NETWORK = "NET_PUB" ]
> NIC = [ NETWORK = "LAN " ]
> GRAPHICS = [ type = "vnc", listen="127.0.0.1", port="-1"]
> when i execute the command line :
>> onevm create VM_template
> I have this error :
> ----------------------------------
> 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
> Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 STDERR
> follows.
> 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
> 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
> Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 qemu: too
> many IDE bus
> Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704
> Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: LOG - 704 ExitCode: 255
> Wed Nov 23 15:26:19 2011 [VMM][D]: Message received: DEPLOY FAILURE 704 -
>
>
> AnyOne can help me ?
> thanks in advance.
>
> --
> Salma REBAI
> Ingénieur Informatique
> Mastère Réseaux et Systèmes Multimédia
> rebai.salma at gmail.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid
URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
More information about the Users
mailing list