Re: [libvirt-users] virsh blockcopy: doesn't seem to flatten the chain by default

2014-07-04 Thread Kashyap Chamarthy
On Thu, Jul 03, 2014 at 11:08:15AM -0600, Eric Blake wrote: > On 07/02/2014 01:12 PM, Kashyap Chamarthy wrote: > > > We have this simple chain: > > > > base <- snap1 > > > > Let's quickly examine the contents of 'base' and 'snap1' images: > > > > > Now, let's do a live blockcopy (with a '-

Re: [libvirt-users] virsh blockcopy: doesn't seem to flatten the chain by default

2014-07-03 Thread shyu
On 07/04/2014 01:08 AM, Eric Blake wrote: On 07/02/2014 01:12 PM, Kashyap Chamarthy wrote: We have this simple chain: base <- snap1 Let's quickly examine the contents of 'base' and 'snap1' images: Now, let's do a live blockcopy (with a '--finish' to graecully finish the mirroring):

Re: [libvirt-users] virsh blockcopy: doesn't seem to flatten the chain by default

2014-07-03 Thread Eric Blake
On 07/02/2014 03:23 PM, Kashyap Chamarthy wrote: > On Thu, Jul 03, 2014 at 12:42:20AM +0530, Kashyap Chamarthy wrote: > > [. . .] > > Forgot to note: Before blockcopy, the current block device is > snap1.qcow2 (after too, it's the same, since we didn't `--pivot` to the > copy. > Not pivoting do

Re: [libvirt-users] virsh blockcopy: doesn't seem to flatten the chain by default

2014-07-03 Thread Eric Blake
On 07/02/2014 01:12 PM, Kashyap Chamarthy wrote: > We have this simple chain: > > base <- snap1 > > Let's quickly examine the contents of 'base' and 'snap1' images: > > Now, let's do a live blockcopy (with a '--finish' to graecully finish > the mirroring): > > $ virsh blockcopy --doma

Re: [libvirt-users] virsh blockcopy: doesn't seem to flatten the chain by default

2014-07-03 Thread shyu
On 07/03/2014 03:12 AM, Kashyap Chamarthy wrote: Versions (Libvirt locally built from a recent git commit -ec7b922): $ rpm -q libvirt-daemon-kvm qemu-system-x86 libvirt-daemon-kvm-1.2.6-1.fc20.x86_64 qemu-system-x86-2.0.0-1.fc21.x86_64 Test [All images are qcow2

Re: [libvirt-users] virsh blockcopy: doesn't seem to flatten the chain by default

2014-07-02 Thread Kashyap Chamarthy
On Thu, Jul 03, 2014 at 12:42:20AM +0530, Kashyap Chamarthy wrote: [. . .] Forgot to note: Before blockcopy, the current block device is snap1.qcow2 (after too, it's the same, since we didn't `--pivot` to the copy. > Now, let's do a live blockcopy (with a '--finish' to graecully finish > the mir

[libvirt-users] virsh blockcopy: doesn't seem to flatten the chain by default

2014-07-02 Thread Kashyap Chamarthy
Versions (Libvirt locally built from a recent git commit -ec7b922): $ rpm -q libvirt-daemon-kvm qemu-system-x86 libvirt-daemon-kvm-1.2.6-1.fc20.x86_64 qemu-system-x86-2.0.0-1.fc21.x86_64 Test [All images are qcow2 files.] We have this simple chain: base <- snap