[one-users] Concurrent disk access
Steven Timm
timm at fnal.gov
Sun Dec 11 15:50:31 PST 2011
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
timm at fnal.gov http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Group Leader.
Lead of FermiCloud project.
More information about the Users
mailing list