[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu drive-mirror to rbd storage : no sparse rbd image
From: |
Alexandre DERUMIER |
Subject: |
Re: [Qemu-devel] qemu drive-mirror to rbd storage : no sparse rbd image |
Date: |
Mon, 13 Oct 2014 10:08:51 +0200 (CEST) |
>>Ah, you're right. We need to add an options field, or use a new
>>blockdev-mirror command.
Ok, thanks. Can't help to implement this, but I'll glad to help for testing.
----- Mail original -----
De: "Paolo Bonzini" <address@hidden>
À: "Alexandre DERUMIER" <address@hidden>
Cc: "Ceph Devel" <address@hidden>, "qemu-devel" <address@hidden>
Envoyé: Lundi 13 Octobre 2014 09:06:01
Objet: Re: qemu drive-mirror to rbd storage : no sparse rbd image
Il 13/10/2014 08:06, Alexandre DERUMIER ha scritto:
>
> Also, about drive-mirror, I had tried with detect-zeroes with simple qcow2
> file,
> and It don't seem to help.
> I'm not sure that detect-zeroes is implement in drive-mirror.
>
> also, the target mirrored volume don't seem to have the detect-zeroes option
>
>
> # info block
> drive-virtio1: /source.qcow2 (qcow2)
> Detect zeroes: on
>
> #du -sh source.qcow2 : 2M
>
> drive-mirror source.qcow2 -> target.qcow2
>
> # info block
> drive-virtio1: /target.qcow2 (qcow2)
>
> #du -sh target.qcow2 : 11G
>
Ah, you're right. We need to add an options field, or use a new
blockdev-mirror command.
Paolo
Re: [Qemu-devel] qemu drive-mirror to rbd storage : no sparse rbd image, Paolo Bonzini, 2014/10/12