You downloaded a disk image file named test02.qcow2 and want to confirm its virtual size, cluster size, current backing-file chain, and whether the image was cleanly shut down before you attach it to a new KVM guest. Which single qemu-img command will display these image properties without modifying the file?
The info subcommand of qemu-img reads the image header and prints a human-readable (or JSON) report that includes the image format, virtual size, disk size, cluster_size, backing file information, and a "cleanly shut down" flag. Adding --backing-chain recursively lists the same properties for every file in the chain, all without writing to the image.
qemu-img check scans for corruption and optional repairs but does not show the full set of header properties.
qemu-img map dumps block-allocation maps, not overall image metadata.
qemu-img measure only estimates how much space a conversion would need.
Therefore, the command that satisfies the requirement is qemu-img info --backing-chain test02.qcow2.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a backing file in a qcow2 image?
Open an interactive chat with Bash
What does the 'cleanly shut down' flag indicate in a qcow2 file?
Open an interactive chat with Bash
What is the purpose of the `qemu-img` tool in virtualization?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access