As far as i know, snapshotting with qemu will download a copy of the image
on local storage and then upload it into ceph. At least this is the default
behaviour when taking a snapshot in openstack of a running instance. I
don't see why it would be any different with qemu-kvm. You must use the rbd
snap feature to make a copy on write clone of the image.
On 28 Jan 2016 12:59, "Bill WONG" <[email protected]> wrote:

> Hi Simon,
>
> how you manage to preform snapshot with the raw format in qemu-kvm VMs?
> and i found some issues with libvirt virsh commands with ceph:
> --
> 1) create storage pool with ceph via virsh
> 2) create a vol via virsh - virsh vol-create-as rbdpool VM1 100G
>
> problem is here.. if we directly create vol via qemu-img create -f rbd
> rbd:rbdpool/VM1 100G, then virsh is unable to find the vol. - virsh
> vol-list rbdpool command is unable to list the vol, it looks such commands
> - rbd, virsh and qemu-img creating images are not synced with each other...
>
> cloud you please let me know how you use the ceph as backend storage of
> qemu-kvm, as if i google it, most of the ceph application is used for
> OpenStack, but not simply pure qemu-kvm. as if setting up Glnace and Cinder
> is troublesome...
>
> thank you!
>
>
> On Thu, Jan 28, 2016 at 5:23 PM, Simon Ironside <[email protected]>
> wrote:
>
>> On 28/01/16 08:30, Bill WONG wrote:
>>
>> without having qcow2, the qemu-kvm cannot make snapshot and other
>>> features.... anyone have ideas or experiences on this?
>>> thank you!
>>>
>>
>> I'm using raw too and create snapshots using "rbd snap create"
>>
>> Cheers,
>> Simon
>>
>
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to