summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1881648
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/1881648')
-rw-r--r--results/scraper/launchpad-without-comments/188164817
1 files changed, 17 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1881648 b/results/scraper/launchpad-without-comments/1881648
new file mode 100644
index 000000000..40984da67
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1881648
@@ -0,0 +1,17 @@
+`qemu-img info` reports an incorrect actual-size when the underlying posix filesystem has transparent compression
+
+qemu-img info reports the same thing as `du`*1024:
+
+$ qemu-img info --output json ./my.qcow2  | jq '."actual-size"'
+558619648
+
+$ du ./my.qcow2
+545527	./my.qcow2
+
+$ echo $((558619648 / 545527))
+1024
+
+and this is correct in terms of bytes on disk, but due to transparent compression implemented by the filesystem, it is not the actual byte count:
+
+$ du -h --apparent-size ./my.qcow2
+1346568192	my.qcow2
\ No newline at end of file