Thanks Ruben for your answer (you answered while I was typing my last email, so please, forget it)
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. 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? 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) Thanks again. Cheers, Humberto On Mon, Nov 14, 2011 at 10:23 AM, Ruben S. Montero <rsmont...@opennebula.org > wrote: > Hi, > > Basically you have to storage areas: > > * The image repository, where your base images are kept. Any operation > to copy or move an image from there are through the Image driver. This > is for: 1) Resitering a new image (CP) 2) Creating an empty image > (MKFS) 3) Copy back a persistent image or a saved_as one (MV) and 4) > delete an image (RM) > > * The storage at the hosts and the VM_DIR (can be local or in a shared > FS). Transfer operations to/from that directories are handle with the > TM. TM move is then used to move the images from the host to the > VM_DIR at the front-end. > > Cheers > > Ruben > > On Wed, Nov 9, 2011 at 3:08 PM, Humberto N. Castejon Martinez > <humca...@gmail.com> wrote: > > Hi, > > > > I have two questions regarding some of the commands in these two sets of > > drivers. > > When is the IM's mkfs command used and when the TM's mkimage command ? > > When (for what) is the IM's mv command used? (I understand the TM's mv > > command is used to move the image used by a running VM back to the > > repository, right?) > > Thanks. > > Cheers, > > Humberto > > _______________________________________________ > > Users mailing list > > Users@lists.opennebula.org > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > > > -- > Ruben S. Montero, PhD > Project co-Lead and Chief Architect > OpenNebula - The Open Source Toolkit for Data Center Virtualization > www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org