blob: 06d60ca768e9ce35934530636a05ffac9b5161f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
Version of disk image format not exhibited using the 'qemu-img info' command
OS: Fedora (64 bits) – Linux –. Last available component: qemu-img.x86_64 2:2.11.2-2.fc28
Description: version of disk image format not exhibited using the 'qemu-img info' command.
Command 'qemu-img info qcow2 [image-file-name.img]' produces this stderr message:
qemu-img: Expecting one image file name
Try 'qemu-img --help' for more information
How to reproduce in terminal:
1. Create a VM using Raw disk image format
2. Run either commands 'qemu-img info -f raw [image-file-name.img]', 'qemu-img info [image-file-name.img]'.
3. Run either commands 'qemu-img info -f qcow2 [image-file-name.qcow2]', 'qemu-img info [image-file-name.qcow2]'.
Actual result: output model resulting from step .2 exhibits following informations:
image: image-file-name.img
file format: raw
virtual size: _G (_ bytes)
disk size: _G
Output model resulting from step .3 exhibits following informations:
image: image-file-name.qcow2
file format: qcow2
virtual size: _G (_ bytes)
disk size: _G
cluster_size: _
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 snapshot1 _G 2018-07-31 18:27:49 00:03:45.890
Format specific information:
compat: 1.1
lazy refcounts: true
refcount bits: 16
corrupt: false
Actual result: raw and qcow2 formats respective versions –which are likely to be mentioned as "version"– to be exhibited.
Additional information: in documentation lastly updated 2018-08-23 at https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/index it is stated in chapters:
14.10 – 'images in raw format can be resized in both directions, whereas qcow2 version 2 or qcow2 version 3 images can be grown';
14.12 – 'the qcow2 version supplied with Red Hat Enterprise Linux 7 is 1.1', 'To know which version you are using, run qemu-img info qcow2 [imagefilename.img] command.'.
|