[one-users] Tricks to move images between datastores

2013-11-19 Thread Daniel Dehennin
Hello,

I added a request[1] to move images between datastores, but for now, I'm
migrating a 3.8 to 4.2 and wonder if someone has a tricks to move all my
CDROM images from 1 to 101.

Regards.

Footnotes: 
[1]  http://dev.opennebula.org/issues/2417

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgpKO7BjdVbzv.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Tricks to move images between datastores

2013-11-19 Thread Ruben S. Montero
Hi

This is my personal receipt.

1.- Create  the image in the new datastore, using a fake path e.g.
PATH=/etc/passwd. This will add a new entry in the DB and will assigned a
SOURCE to it in the new datastore. To create the new image you may want to
use the same template.

2.- Manually move the SOURCE path from the original image in DS 0 to the
SOURCE path of the image created in 101.

3.- Delete the image in ds 0

Note that images must be files for this to work...

Anyway, this is a very interesting feature that will be considered in the
next release.

Cheers

Ruben


On Tue, Nov 19, 2013 at 3:15 PM, Daniel Dehennin 
daniel.dehen...@baby-gnu.org wrote:

 Hello,

 I added a request[1] to move images between datastores, but for now, I'm
 migrating a 3.8 to 4.2 and wonder if someone has a tricks to move all my
 CDROM images from 1 to 101.

 Regards.

 Footnotes:
 [1]  http://dev.opennebula.org/issues/2417

 --
 Daniel Dehennin
 Récupérer ma clef GPG:
 gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

 ___
 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 - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org