Hi Richard

There are two different file operations: copy the image from its current
path to the image repository, and the copy of that image to the execution
host.

Since you are using tm_shared, the image files won't be copied for each
deployment if they are persistent.
As you pointed out, the image will still be copied once to the image
repository, but this can be customized. The image repository drivers are
located in /var/lib/one/remotes/image/fs/. You can edit the
'/var/lib/one/remotes/image/fs/cp' file to change the 'cp' commands to
'mv'.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | [email protected] |
@OpenNebula<http://twitter.com/opennebula><[email protected]>


On Mon, Dec 12, 2011 at 4:09 PM, Fabian Wenk <[email protected]> wrote:

> Hello Richard
>
>
> On 12.12.2011 00:55, richard -rw- weinberger wrote:
>
>> On Mon, Dec 12, 2011 at 12:50 AM, Steven Timm<[email protected]>  wrote:
>>
>>>  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.
>>>
>>
>> I'm using shared.
>>
>> But if I use the image repository, it will *copy* my image at least once,
>> right?
>> My images are very big.>500GiB.
>>
>
> Yes, it will be copied, unless you use NFS or any other shared storage for
> the images repository. Using a registered image is the only chance for
> OpenNebula to know that a certain image is being used by a VM. This will be
> updated in the images table in the database. OpenNebula does not care about
> a more then once used path to a disk in the VM template.
>
>
> bye
> Fabian
>
> ______________________________**_________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to