<div>Thanks Ruben for your answer (you answered while I was typing my last email, so please, forget it)<br></div><div><br></div><div>With the Image Driver everything is clear now, but not so with the Transfer Driver, so I hope you can help me a little bit more. Have in mind that I am developing drivers for a ZFS-based shared storage solution.</div>
<div>In the documentation I can read that the mkimage and mkswap commands respectively create empty and swap images in <destination>. I assume <destination> will be a worker, so it will be a path of the form <VM_DIR>/<VM_ID>/images/<filename>. Is that right? And in which situations will these commands actually be used? Is tm_clone not used to copy empty images from the repository to the VM_DIR?</div>
<div>You say that tm_mv is used to move the images from the host to the VM_DIR at the front-end. What is this needed for (i.e. in which situation is executed)? Is this command needed if the VM_DIR is shared between the front-end and the workers? (I would say no)</div>
<div><br></div><div>Thanks again.</div><div><br></div><div>Cheers,</div><div>Humberto</div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 10:23 AM, Ruben S. Montero <span dir="ltr"><<a href="mailto:rsmontero@opennebula.org">rsmontero@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Basically you have to storage areas:<br>
<br>
* The image repository, where your base images are kept. Any operation<br>
to copy or move an image from there are through the Image driver. This<br>
is for: 1) Resitering a new image (CP) 2) Creating an empty image<br>
(MKFS) 3) Copy back a persistent image or a saved_as one (MV) and 4)<br>
delete an image (RM)<br>
<br>
* The storage at the hosts and the VM_DIR (can be local or in a shared<br>
FS). Transfer operations to/from that directories are handle with the<br>
TM. TM move is then used to move the images from the host to the<br>
VM_DIR at the front-end.<br>
<br>
Cheers<br>
<br>
Ruben<br>
<div><div class="h5"><br>
On Wed, Nov 9, 2011 at 3:08 PM, Humberto N. Castejon Martinez<br>
<<a href="mailto:humcasma@gmail.com">humcasma@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I have two questions regarding some of the commands in these two sets of<br>
> drivers.<br>
> When is the IM's mkfs command used and when the TM's mkimage command ?<br>
> When (for what) is the IM's mv command used? (I understand the TM's mv<br>
> command is used to move the image used by a running VM back to the<br>
> repository, right?)<br>
> Thanks.<br>
> Cheers,<br>
> Humberto<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Ruben S. Montero, PhD<br>
Project co-Lead and Chief Architect<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:rsmontero@opennebula.org">rsmontero@opennebula.org</a> | @OpenNebula<br>
</font></span></blockquote></div><br>