What kind of transfer method are you using?  shared, ssh, lvm?
You can load the .raw file into the image repository, make
it persistent, and that will take care of it.

Steve



On Mon, 12 Dec 2011, richard -rw- weinberger wrote:

Hi!

Assume I have two templates.
vm1.one:
---8<---
NAME = vm1

DISK = [
       DRIVER = raw,
       TYPE = disk,
       TARGET = sda,
       SOURCE = /srv/guestimgs/guests/_centos6_template/disk1.raw,
       CLONE = no,
       BUS = virtio
]
--->8---

vm2.one:
---8<---
NAME = vm2

DISK = [
       DRIVER = raw,
       TYPE = disk,
       TARGET = sda,
       SOURCE = /srv/guestimgs/guests/_centos6_template/disk1.raw,
       CLONE = no,
       BUS = virtio
]
--->8---

Why allows me OpenNebula to start both in parallel?
E.g using "vmcreate vm1.one; vmcreate vm2.one"

Shouldn't it detect that both virtual machines are using the same disk file?!
How can i avoid this?



--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
[email protected]  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Group Leader.
Lead of FermiCloud project.
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to