[one-users] How to move an existing image from one datastore to another one?

Valerio Schiavoni valerio.schiavoni at gmail.com
Mon Jun 23 08:47:38 PDT 2014


Hello Ruben,
The image is not used by any VM, that's the case.
I guess I can do it manually somehow..but the question is how.

I did found this issue http://dev.opennebula.org/issues/1696 I hope it
doesn't get rescheduled (as it was already pushed from 4.0 to 4.8).

best,
valerio


On Mon, Jun 23, 2014 at 5:41 PM, Ruben S. Montero <rsmontero at opennebula.org>
wrote:

> Images should not be in used by any VM. In that case, it should not matter
> if the image is persistent or not. Note also that moving images between DS
> is in our roadmap...
>
>
> On Mon, Jun 23, 2014 at 3:53 PM, Valerio Schiavoni <
> valerio.schiavoni at gmail.com> wrote:
>
>> Hello,
>> we configured a new image datastore based on a shared filesystem.
>> We'd like to migrate few of our images (currently hosted on a different,
>> ssh-based datastore )  to this new datastore.
>>
>> What would it be the less painful way to do this ?
>> I found this old message on the ML:
>>
>> http://lists.opennebula.org/pipermail/users-opennebula.org/2013-May/023011.html
>>
>> In there, Ruben says:
>>
>> You can also re-gister the images again using a dummy path and then just
>>> mv
>>> the original SOURCE to the new one....
>>
>>
>> But, what if the image we want to move is a persistent image? Can you
>> provide an example?
>> Assume the previous datastore has id 100, the new one has id 106 and the
>> image we need to move has id 360, what is the sequence of commands you had
>> in mind ?
>>
>>
>> Best,
>> Valerio
>>
>
>
>
> --
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140623/567cf557/attachment-0001.htm>


More information about the Users mailing list