All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Alexandre DERUMIER <aderumier@odiso.com>
Cc: Ceph Devel <ceph-devel@vger.kernel.org>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: qemu drive-mirror to rbd storage : no sparse rbd image
Date: Mon, 13 Oct 2014 09:06:01 +0200	[thread overview]
Message-ID: <543B79D9.2000806@redhat.com> (raw)
In-Reply-To: <9fe0fedc-802d-4838-b738-c3d0932eeeda@mailpro>

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

WARNING: multiple messages have this Message-ID (diff)
From: Paolo Bonzini <pbonzini@redhat.com>
To: Alexandre DERUMIER <aderumier@odiso.com>
Cc: Ceph Devel <ceph-devel@vger.kernel.org>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qemu drive-mirror to rbd storage : no sparse rbd image
Date: Mon, 13 Oct 2014 09:06:01 +0200	[thread overview]
Message-ID: <543B79D9.2000806@redhat.com> (raw)
In-Reply-To: <9fe0fedc-802d-4838-b738-c3d0932eeeda@mailpro>

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

  reply	other threads:[~2014-10-13  7:06 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <54c55fc6-b12a-42e5-b99d-9752c8a9b19b@mailpro>
2014-10-08 11:15 ` qemu drive-mirror to rbd storage : no sparse rbd image Alexandre DERUMIER
2014-10-08 11:15   ` [Qemu-devel] " Alexandre DERUMIER
2014-10-11  7:01   ` Fam Zheng
2014-10-11  7:01     ` Fam Zheng
2014-10-11  8:00     ` Alexandre DERUMIER
2014-10-11  8:00       ` Alexandre DERUMIER
2014-10-11  8:25       ` Fam Zheng
2014-10-11  8:25         ` Fam Zheng
2014-10-11  8:30         ` Andrey Korolyov
2014-10-11  8:30           ` Andrey Korolyov
2014-10-12 10:02           ` Alexandre DERUMIER
2014-10-12 10:02             ` Alexandre DERUMIER
2014-10-12 10:33         ` Alexandre DERUMIER
2014-10-12 10:33           ` Alexandre DERUMIER
2014-10-12 13:02   ` Paolo Bonzini
2014-10-12 13:02     ` [Qemu-devel] " Paolo Bonzini
2014-10-13  6:06     ` Alexandre DERUMIER
2014-10-13  6:06       ` [Qemu-devel] " Alexandre DERUMIER
2014-10-13  7:06       ` Paolo Bonzini [this message]
2014-10-13  7:06         ` Paolo Bonzini
2014-10-13  8:08         ` Alexandre DERUMIER
2014-10-13  8:08           ` [Qemu-devel] " Alexandre DERUMIER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=543B79D9.2000806@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=aderumier@odiso.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.