qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1881648] [NEW] `qemu-img info` reports an incorrect actual-size whe


From: Graham Christensen
Subject: [Bug 1881648] [NEW] `qemu-img info` reports an incorrect actual-size when the underlying posix filesystem has transparent compression
Date: Mon, 01 Jun 2020 19:25:44 -0000

Public bug reported:

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

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1881648

Title:
  `qemu-img info` reports an incorrect actual-size when the underlying
  posix filesystem has transparent compression

Status in QEMU:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1881648/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]