[one-users] Image Repository Driver

Ruben S. Montero rubensm at dacya.ucm.es
Sat Sep 17 14:51:27 PDT 2011


Hi

In fact, it is also used for persistent images. Whenever an image is to be
moved from the VM directory
($ONE_LOCATION/var/<vm_id>/images/disk.<disk_id>) to the repository the MV
script is called. Summary:

CP is for registering a new image to the repository (only at oneimage
create)
MKFS is for registering data images
RM is for removing (oneimage delete)
MV to move images (save_as, and persistent) form VM_DIR to the repo.

Cheers

Ruben

On Sat, Sep 17, 2011 at 8:41 PM, Alberto Zuin - Liste
<liste at albertozuin.eu>wrote:

> I found it by myself: it's used in saveas.
> Bye,
>
> Alberto Zuin
> -------------
> www.azns.it
>
> Il 17/09/2011 13:26, Alberto Zuin - Liste ha scritto:
>
>  Hi,
>> I'm in developing of a custom repository driver (and also tm commands) to
>> use a btrfs filesystem with snapshot.
>> I want to check all repo operations, but I can't find a situation where
>> the mv script is involved.
>> Can you  help me please?
>> Thanks,
>> Alberto Zuin
>> -------------
>> www.azns.it
>> ______________________________**_________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110917/4783d153/attachment-0002.htm>


More information about the Users mailing list