System Management

An administrator inherits an unlabeled disk image at /var/lib/libvirt/images/web01.qcow2. Before moving it, they need to see its file format, its virtual size, the space it actually uses on the host, and whether it depends on a backing file. Which command shows all of this?

Show the answer

Correct answerC. qemu-img info /var/lib/libvirt/images/web01.qcow2

qemu-img info reports the image format, virtual size, disk size on the host, and any backing file. qemu-img check only scans for corruption and leaks, so it does not show the backing file or give a full property summary. qemu-img map lists data allocation, and compare needs two images.