On Sun, Jan 30, 2022 at 12:27:53AM +0200, Nir Soffer wrote:
On Fri, Jan 28, 2022 at 10:39 PM Richard W.M. Jones <rjones@redhat.com> wrote: Doing read-modify-write in nbdcopy sounds like a bad idea. This is best done closer to the storage, avoiding reading blocks from qemu-nbd to nbdcopy just to write them back.
We don't have to read from the storage. The read-modify-write only has to be done in memory inside nbdcopy because on the destination side we're only writing. Having said that, it turns out to be a little bit more complicated than I described in the paragraph above :-( Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v