* rbd snapshot in qemu and libvirt
@ 2012-04-18 13:08 Martin Mailand
2012-04-18 13:10 ` Wido den Hollander
0 siblings, 1 reply; 9+ messages in thread
From: Martin Mailand @ 2012-04-18 13:08 UTC (permalink / raw)
To: ceph-devel
Hi List,
does anyone know the actual progress of the rbd snapshot feature
integration into qemu and libvirt?
-martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-18 13:08 rbd snapshot in qemu and libvirt Martin Mailand
@ 2012-04-18 13:10 ` Wido den Hollander
2012-04-18 13:22 ` Martin Mailand
0 siblings, 1 reply; 9+ messages in thread
From: Wido den Hollander @ 2012-04-18 13:10 UTC (permalink / raw)
To: Martin Mailand; +Cc: ceph-devel
Hi,
On 04/18/2012 03:08 PM, Martin Mailand wrote:
> Hi List,
>
> does anyone know the actual progress of the rbd snapshot feature
> integration into qemu and libvirt?
I tested this about a year ago and that worked fine.
Anything in particular you are looking for?
Wido
>
> -martin
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-18 13:10 ` Wido den Hollander
@ 2012-04-18 13:22 ` Martin Mailand
2012-04-18 14:39 ` Andrey Korolyov
0 siblings, 1 reply; 9+ messages in thread
From: Martin Mailand @ 2012-04-18 13:22 UTC (permalink / raw)
To: Wido den Hollander; +Cc: ceph-devel
Hi Wido,
I am looking for doing the snapshots via libvirt, create, delete,
rollback and list of the snapshot.
-martin
Am 18.04.2012 15:10, schrieb Wido den Hollander:
> I tested this about a year ago and that worked fine.
>
> Anything in particular you are looking for?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-18 13:22 ` Martin Mailand
@ 2012-04-18 14:39 ` Andrey Korolyov
2012-04-18 14:55 ` Martin Mailand
0 siblings, 1 reply; 9+ messages in thread
From: Andrey Korolyov @ 2012-04-18 14:39 UTC (permalink / raw)
To: Martin Mailand; +Cc: Wido den Hollander, ceph-devel
I have tested all of them about a week ago, all works fine. Also it
will be very nice if rbd can list an actual allocated size of every
image or snapshot in future.
On Wed, Apr 18, 2012 at 5:22 PM, Martin Mailand <martin@tuxadero.com> wrote:
> Hi Wido,
>
> I am looking for doing the snapshots via libvirt, create, delete, rollback
> and list of the snapshot.
>
> -martin
>
> Am 18.04.2012 15:10, schrieb Wido den Hollander:
>
>> I tested this about a year ago and that worked fine.
>>
>> Anything in particular you are looking for?
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-18 14:39 ` Andrey Korolyov
@ 2012-04-18 14:55 ` Martin Mailand
2012-04-18 15:52 ` Andrey Korolyov
0 siblings, 1 reply; 9+ messages in thread
From: Martin Mailand @ 2012-04-18 14:55 UTC (permalink / raw)
To: Andrey Korolyov; +Cc: Wido den Hollander, ceph-devel
Hi Andrey,
if I try it I get this error.
virsh snapshot-create linux1
error: Requested operation is not valid: Disk
'rbd/vm1:rbd_cache_enabled=1' does not support snapshotting
maybe the rbd_cache option is the problem?
-martin
Am 18.04.2012 16:39, schrieb Andrey Korolyov:
> I have tested all of them about a week ago, all works fine. Also it
> will be very nice if rbd can list an actual allocated size of every
> image or snapshot in future.
>
> On Wed, Apr 18, 2012 at 5:22 PM, Martin Mailand<martin@tuxadero.com> wrote:
>> Hi Wido,
>>
>> I am looking for doing the snapshots via libvirt, create, delete, rollback
>> and list of the snapshot.
>>
>> -martin
>>
>> Am 18.04.2012 15:10, schrieb Wido den Hollander:
>>
>>> I tested this about a year ago and that worked fine.
>>>
>>> Anything in particular you are looking for?
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-18 14:55 ` Martin Mailand
@ 2012-04-18 15:52 ` Andrey Korolyov
2012-04-18 16:34 ` Martin Mailand
2012-04-19 12:42 ` Martin Mailand
0 siblings, 2 replies; 9+ messages in thread
From: Andrey Korolyov @ 2012-04-18 15:52 UTC (permalink / raw)
To: Martin Mailand; +Cc: Wido den Hollander, ceph-devel
Oh, I forgot to say about a patch:
https://www.redhat.com/archives/libvir-list/2012-March/msg01369.html
On Wed, Apr 18, 2012 at 6:55 PM, Martin Mailand <martin@tuxadero.com> wrote:
> Hi Andrey,
>
> if I try it I get this error.
>
> virsh snapshot-create linux1
> error: Requested operation is not valid: Disk 'rbd/vm1:rbd_cache_enabled=1'
> does not support snapshotting
>
> maybe the rbd_cache option is the problem?
>
>
> -martin
>
>
> Am 18.04.2012 16:39, schrieb Andrey Korolyov:
>
>> I have tested all of them about a week ago, all works fine. Also it
>> will be very nice if rbd can list an actual allocated size of every
>> image or snapshot in future.
>>
>> On Wed, Apr 18, 2012 at 5:22 PM, Martin Mailand<martin@tuxadero.com>
>> wrote:
>>>
>>> Hi Wido,
>>>
>>> I am looking for doing the snapshots via libvirt, create, delete,
>>> rollback
>>> and list of the snapshot.
>>>
>>> -martin
>>>
>>> Am 18.04.2012 15:10, schrieb Wido den Hollander:
>>>
>>>> I tested this about a year ago and that worked fine.
>>>>
>>>> Anything in particular you are looking for?
>>>
>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-18 15:52 ` Andrey Korolyov
@ 2012-04-18 16:34 ` Martin Mailand
2012-04-19 12:42 ` Martin Mailand
1 sibling, 0 replies; 9+ messages in thread
From: Martin Mailand @ 2012-04-18 16:34 UTC (permalink / raw)
To: Andrey Korolyov; +Cc: Wido den Hollander, ceph-devel
Hi,
Am 18.04.2012 17:52, schrieb Andrey Korolyov:
> Oh, I forgot to say about a patch:
perfect, now it works.
Thanks.
-martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-18 15:52 ` Andrey Korolyov
2012-04-18 16:34 ` Martin Mailand
@ 2012-04-19 12:42 ` Martin Mailand
2012-04-19 14:25 ` Sage Weil
1 sibling, 1 reply; 9+ messages in thread
From: Martin Mailand @ 2012-04-19 12:42 UTC (permalink / raw)
To: ceph-devel
Hi List,
is it possible to quiesce the disk before a snapshot? Or does it make no
sense with rbd?
How about the new rbd_cache, does it get flushed before the snapshot?
I would like to use it like this.
virsh snapshot-create --quiesce $DOMAIN
-martin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: rbd snapshot in qemu and libvirt
2012-04-19 12:42 ` Martin Mailand
@ 2012-04-19 14:25 ` Sage Weil
0 siblings, 0 replies; 9+ messages in thread
From: Sage Weil @ 2012-04-19 14:25 UTC (permalink / raw)
To: Martin Mailand; +Cc: ceph-devel
On Thu, 19 Apr 2012, Martin Mailand wrote:
> Hi List,
>
> is it possible to quiesce the disk before a snapshot? Or does it make no sense
> with rbd?
> How about the new rbd_cache, does it get flushed before the snapshot?
>
> I would like to use it like this.
>
> virsh snapshot-create --quiesce $DOMAIN
librbd does flush before taking a snapshot. I haven't seen --quiesce
before, but it looks like it does exactly what I would want it to
(freeze+thaw the fs inside the VM).
Let us know how it works for you!
sage
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-04-19 14:25 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 13:08 rbd snapshot in qemu and libvirt Martin Mailand
2012-04-18 13:10 ` Wido den Hollander
2012-04-18 13:22 ` Martin Mailand
2012-04-18 14:39 ` Andrey Korolyov
2012-04-18 14:55 ` Martin Mailand
2012-04-18 15:52 ` Andrey Korolyov
2012-04-18 16:34 ` Martin Mailand
2012-04-19 12:42 ` Martin Mailand
2012-04-19 14:25 ` Sage Weil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.