[one-users] Disk order meaningful ?

Gian Uberto Lauri saint at eng.it
Fri Feb 10 10:53:23 PST 2012


Hello gentlemen!

It seems that in OpenNebula 2.2 these two snippets ov a VM template are not
equivalent

-[1]--------------------------------------------------------
DISK = [
TYPE=fs,
SIZE = 128,
FORMAT = "ext3",
TARGET = "hdc"]
DISK = [
SOURCE = "file:///home/oneadmin/one-images/swap.qcow",
TYPE=swap,
SIZE = 200,
TARGET = "hdd"]
DISK = [
IMAGE = "venuscdebianbase", 
TARGET = "hda"]
------------------------------------------------------------

-[2]--------------------------------------------------------
DISK = [
IMAGE = "venuscdebianbase", 
TARGET = "hda"]
DISK = [
TYPE=fs,
SIZE = 128,
FORMAT = "ext3",
TARGET = "hdc"]
DISK = [
SOURCE = "file:///home/oneadmin/one-images/swap.qcow",
TYPE=swap,
SIZE = 200,
TARGET = "hdd"]
------------------------------------------------------------

Both declare a swap area, a file system image and a registered os image.

But the  with the declarations  as in [1]  the machine does  not boots
since it seems it tries to boot from the wrong disk.

Does OpenNebula 3.x have the same behaviour?

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Laboratorio Ricerca e Sviluppo / Research & Development Lab.
Area Calcolo Distribuito / Distributed Computation Area

GianUberto.Lauri at eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.571         | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569		  |    (unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri	  |          David Korn, AT&T Bell Labs             
http://www.eng.it 			  |          ioccc best One Liner, 1987             



More information about the Users mailing list