Qemu-img: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 6: Zeile 6:
 
  No errors were found on the image.
 
  No errors were found on the image.
 
  Image end offset: 262144
 
  Image end offset: 262144
 +
*qemu-img info greta.qcow2
 +
=Qcow2 Disc info=
 +
<pre>
 +
image: greta.qcow2
 +
file format: qcow2
 +
virtual size: 10G (10737418240 bytes)
 +
disk size: 196K
 +
cluster_size: 65536
 +
Format specific information:
 +
    compat: 1.1
 +
    lazy refcounts: false
 +
    refcount bits: 16
 +
    corrupt: false
 +
</pre>

Version vom 15. Oktober 2017, 19:23 Uhr

Qcow2 Disc create

  • qemu-img create -f qcow2 greta.qcow2 10G
Formatting 'greta.qcow2', fmt=qcow2 size=10737418240 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16

Qcow2 Disc check

  • qemu-img check greta.qcow2
No errors were found on the image.
Image end offset: 262144
  • qemu-img info greta.qcow2

Qcow2 Disc info

image: greta.qcow2
file format: qcow2
virtual size: 10G (10737418240 bytes)
disk size: 196K
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false
    refcount bits: 16
    corrupt: false