Hi:

I was try to make a VM that store its file systems after a shut-down, so the vm images templates are actualized to the last disk state whe the vm is shutdown...

According to the OpenNebula documentation (i think), this is done by declaring the images used by the VM as "persistent"

So, in my vm template i use some disks from the image repository:

[........]
DISK = [ image   = "NUBA_GENERICA" ]
DISK = [ image = "NUBA PRU DATA" ]
[........]

And these images are declared as "persistent":

[onead...@onesrv02 ]$ oneimage show NUBA_GENERICA
IMAGE INFORMATION ID : 16 NAME : NUBA_GENERICA TYPE : OS REGISTER TIME : 01/10 13:33:34 PUBLIC : No SOURCE : /srv/cloud/one//var/images/f442bd092f1701af436ef3298ee11139a9ba4845 STATE : used RUNNING_VMS : 1 IMAGE TEMPLATE DEV_PREFIX=hd
NAME=NUBA_GENERICA
PERSISTENT=YES
TYPE=OS

[onead...@onesrv02 ]$ oneimage show "NUBA PRU DATA"
IMAGE INFORMATION ID : 13 NAME : NUBA PRU DATA TYPE : DATABLOCK REGISTER TIME : 12/27 09:47:50 PUBLIC : No SOURCE : /srv/cloud/one//var/images/be63cfcb90c525df5c2e43451e30f8967fd23933 STATE : used RUNNING_VMS : 1 IMAGE TEMPLATE BUS=ide
DESCRIPTION=Datos generico
DEV_PREFIX=hd
NAME=NUBA PRU DATA
PATH=/srv/cloud/imagenes_NUBA_bajo_OpenNebula/testbed-nuba-golden_massive_void.img
PERSISTENT=YES
TYPE=DATABLOCK


Nevertheless, when i make an "onevm shutdown <vm_id>", these disks are not saved.....

Where is my error???

Note: i'm using the ssh flavor of OpenNebula.... Perhaps the "persistent" stuff only works for the nfs flavor????

Regards....

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to