diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/660366')
| -rw-r--r-- | results/scraper/launchpad-without-comments/660366 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/660366 b/results/scraper/launchpad-without-comments/660366 new file mode 100644 index 00000000..648b482c --- /dev/null +++ b/results/scraper/launchpad-without-comments/660366 @@ -0,0 +1,19 @@ +"qemu-img convert -O qcow2 -o backing_file" makes huge images + +$ dd if=/dev/urandom bs=1M of=1.img count=4 +4+0 records in +4+0 records out +4194304 bytes (4,2 MB) copied, 1,0413 s, 4,0 MB/s +$ qemu-img create -f qcow2 -b 1.img 2.img +Formatting '2.img', fmt=qcow2 size=4194304 backing_file='1.img' encryption=off cluster_size=0 +$ qemu-img convert -O qcow2 -o backing_file=1.img 2.img 3.img +$ du -h ?.img +4,1M 1.img +144K 2.img +4,3M 3.img + +The conversion result is bigger then the source! + +It appears that "-o backing_file" is not applied to data (as expected). I.e. all data is put into the resulting image: both from source image and "backing" image. + +Expected behavior is to put only data that is not present in backing_file. \ No newline at end of file |