Re: virsh blockcopy: doesn't seem to flatten the chain by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 mirroring):
> 
>     $ virsh blockcopy --domain testvm2 vda \
>         /export/dst/copy.qcow2 \
>         --wait --verbose --finish
> 
> 
> Examine the contents of the above 'copy':
> 
>     $ guestfish --ro -a copy.qcow2 
>     [. . .]
>     ><fs> run
>     ><fs> mount /dev/sda1 /
>     ><fs> ls /
>     bar
>     baz
>     jazz
>     lost+found
>     ><fs> quit
> 
> If I'm reading the man page of 'blockcopy' correctly, shouldn't it
> 'flatten' the entire chain, by also copying the contents of base into
> copy.qcow2? i.e. the 'copy' should have files (including the file foo
> from 'base': 
> 
>     foo, bar, baz, jazz
> 
> 
> True or false?
> 


-- 
/kashyap

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux