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

Ruben S. Montero rsmontero at opennebula.org
Mon Jun 23 08:41:42 PDT 2014


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/2797dc4e/attachment.htm>


More information about the Users mailing list