System Management

Running qemu-img info on a guest's disk shows file format qcow2, virtual size 50 GiB and disk size 4.2 GiB. The administrator wants to know how the image is currently stored. Which statement is correct?

Show the answer

Correct answerC. The guest sees a 50 GiB disk, and the file uses about 4.2 GiB on the host because unwritten space is not allocated.

Virtual size is what the guest sees; disk size is the space actually allocated on the host, so a thin-provisioned qcow2 file stays small until data is written. The compression explanation is tempting, but the gap comes from unallocated space, not compression. A backing file would be listed separately.