Qemu-img: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 19: | Zeile 19: | ||
refcount bits: 16 | refcount bits: 16 | ||
corrupt: false | corrupt: false | ||
| + | </pre> | ||
| + | =Raw Disc create= | ||
| + | *qemu-img create heidi.raw 10G | ||
| + | Formatting 'heidi.raw', fmt=raw size=10737418240 | ||
| + | =Raw Disc info= | ||
| + | *qemu-img info heidi.raw | ||
| + | <pre> | ||
| + | image: heidi.raw | ||
| + | file format: raw | ||
| + | virtual size: 10G (10737418240 bytes) | ||
| + | disk size: 0 | ||
</pre> | </pre> | ||
Version vom 15. Oktober 2017, 19:53 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
Raw Disc create
- qemu-img create heidi.raw 10G
Formatting 'heidi.raw', fmt=raw size=10737418240
Raw Disc info
- qemu-img info heidi.raw
image: heidi.raw file format: raw virtual size: 10G (10737418240 bytes) disk size: 0