Este conteúdo não está disponível no idioma selecionado.
14.8. Displaying Image Information
The
info parameter displays information about a disk image filename. The format for the info option is as follows:
qemu-img info [-f format] filename
# qemu-img info [-f format] filename
This command is often used to discover the size reserved on disk which can be different from the displayed size. If snapshots are stored in the disk image, they are displayed also. This command will show for example, how much space is being taken by a qcow2 image on a block device. This is done by running the
qemu-img. You can check that the image in use is the one that matches the output of the qemu-img info command with the qemu-img check command.