Re: [one-users] migration of ceph images

2014-08-25 Thread Mateusz Skała

Hi
try log into on frontend and then as oneadmin put:
oneimage create --name one-108 --source rbd/one-108  --size  11264 -d 
101

where:
one-108 is name of image
rbd/one-108 is name of ceph rbd disk
11264 is size of disk in mb from `rbd info one-108`
101 is id of ceph datastore

Regards,
Mateusz


W dniu 2014-08-25 16:50, Randy Smith napisał(a):

Greetings,

I'm running an existing cluster with libvirt and ceph that I'm looking
to move to OpenNebula. I would like to import my existing ceph images
without doing the import/export dance, primarily because I have a few
multi-TB images. Is there a way to create a persistent image that
points to the existing ceph image?

Failing that, would the following work?

- Create a new persistent image on a ceph data store
- Using the ceph tools, delete the newly created one-X rbd.
- Use the ceph tools to rename the existing rbd to the one-X name
created in the first step

Thanks

--

Randall Smith
Computing Services
Adams State University
http://www.adams.edu/ [1]
 719-587-7741


Links:
--
[1] http://www.adams.edu/

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] migration of ceph images

2014-08-25 Thread Randy Smith
Greetings,

I'm running an existing cluster with libvirt and ceph that I'm looking to
move to OpenNebula. I would like to import my existing ceph images without
doing the import/export dance, primarily because I have a few multi-TB
images. Is there a way to create a persistent image that points to the
existing ceph image?

Failing that, would the following work?

- Create a new persistent image on a ceph data store
- Using the ceph tools, delete the newly created one-X rbd.
- Use the ceph tools to rename the existing rbd to the one-X name created
in the first step

Thanks

-- 
Randall Smith
Computing Services
Adams State University
http://www.adams.edu/
719-587-7741
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org