Hi Richard<div><br></div><div>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.</div><div><br></div><div>Since you are using tm_shared, the image files won't be copied for each deployment if they are persistent.</div>
<div>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'. </div>
<div><br></div><div>Regards<br clear="all"><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span><br>
<br><br><div class="gmail_quote">On Mon, Dec 12, 2011 at 4:09 PM, Fabian Wenk <span dir="ltr"><<a href="mailto:fabian@wenks.ch">fabian@wenks.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Richard<div class="im"><br>
<br>
On 12.12.2011 00:55, richard -rw- weinberger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Dec 12, 2011 at 12:50 AM, Steven Timm<<a href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What kind of transfer method are you using? shared, ssh, lvm?<br>
You can load the .raw file into the image repository, make<br>
it persistent, and that will take care of it.<br>
</blockquote>
<br>
I'm using shared.<br>
<br>
But if I use the image repository, it will *copy* my image at least once, right?<br>
My images are very big.>500GiB.<br>
</blockquote>
<br></div>
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.<br>
<br>
<br>
bye<span class="HOEnZb"><font color="#888888"><br>
Fabian</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></div></blockquote></div><br></div>