Bug 1789853 - qcow2 format image newly created by virt-manager occupy too many disk space
Summary: qcow2 format image newly created by virt-manager occupy too many disk space
Keywords:
Status: CLOSED DUPLICATE of bug 1759454
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-10 15:00 UTC by lnie
Modified: 2020-01-26 21:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-26 21:50:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description lnie 2020-01-10 15:00:20 UTC
Description of problem:
Add a new qcow2 disk image to VM fedora-rawhide use virt-manager,find the disk size is exactly the same as the virtual size.
[root@bogon libvirttestapi]# qemu-img info /var/lib/libvirt/images/fedora-rawhide-1.qcow2
image: /var/lib/libvirt/images/fedora-rawhide-1.qcow2
file format: qcow2
virtual size: 20 GiB (21474836480 bytes)
disk size: 20 GiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: true
    refcount bits: 16
    corrupt: false


Version-Release number of selected component (if applicable):
virt-manager-2.2.1-2.fc31.noarch
libvirt-5.6.0-5.fc31.x86_64


How reproducible:
always 

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
The disk size of the "new" created qcow2 image should be way smaller than the virtual size

Additional info:

Comment 1 Cole Robinson 2020-01-26 21:50:08 UTC
I think this is due to the details reported in this other bug, duping

*** This bug has been marked as a duplicate of bug 1759454 ***


Note You need to log in before you can comment on or make changes to this bug.