[one-users] Concurrent disk access

richard -rw- weinberger richard.weinberger at gmail.com
Sun Dec 11 15:27:21 PST 2011


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?

-- 
Thanks,
//richard



More information about the Users mailing list