Qcow: Difference between revisions
VulcanSphere (talk | contribs) Adding local short description: "Virtual hard drive format", overriding Wikidata description "virtual hard drive format introduced by QEMU" (Shortdesc helper) |
KitsuneLogic (talk | contribs) Add a mention that the e2fsprogs have some support for qcow2. |
||
Line 5: | Line 5: | ||
'''qcow''' is a [[file format]] for [[disk image]] files used by [[QEMU]], a [[Virtual machine monitor#Classification|hosted virtual machine monitor]].<ref>{{ cite web | url = http://wiki.qemu.org/download/qemu-doc.html | title = QEMU Emulator User Documentation | publisher = Wiki.qemu.org | access-date = 2011-12-12 }}</ref> It stands for "QEMU [[Copy-on-write|Copy On Write]]" and uses a disk storage optimization strategy that delays allocation of storage until it is actually needed. Files in qcow format can contain a variety of disk images which are generally associated with specific guest [[operating systems]]. Three versions of the format exist: qcow, qcow2 and qcow3<ref>{{Cite web|url=https://wiki.qemu.org/Features/Qcow3|title=Features/Qcow3 - QEMU}}</ref> which use the ''.qcow'', ''.qcow2'' and ''.qcow3'' file extensions, respectively. |
'''qcow''' is a [[file format]] for [[disk image]] files used by [[QEMU]], a [[Virtual machine monitor#Classification|hosted virtual machine monitor]].<ref>{{ cite web | url = http://wiki.qemu.org/download/qemu-doc.html | title = QEMU Emulator User Documentation | publisher = Wiki.qemu.org | access-date = 2011-12-12 }}</ref> It stands for "QEMU [[Copy-on-write|Copy On Write]]" and uses a disk storage optimization strategy that delays allocation of storage until it is actually needed. Files in qcow format can contain a variety of disk images which are generally associated with specific guest [[operating systems]]. Three versions of the format exist: qcow, qcow2 and qcow3<ref>{{Cite web|url=https://wiki.qemu.org/Features/Qcow3|title=Features/Qcow3 - QEMU}}</ref> which use the ''.qcow'', ''.qcow2'' and ''.qcow3'' file extensions, respectively. |
||
<code>qemu-img</code> command allows to inspect, check, create, convert, resize and take snapshot of qcow images.<ref>{{Cite web|url=https://linux.die.net/man/1/qemu-img|title=Qemu-img(1): QEMU disk image utility - Linux man page}}</ref> |
<code>qemu-img</code> command allows to inspect, check, create, convert, resize and take snapshot of qcow images.<ref>{{Cite web|url=https://linux.die.net/man/1/qemu-img|title=Qemu-img(1): QEMU disk image utility - Linux man page}}</ref> The [[e2fsprogs]] command e2image also has support for generating qcow2 files to avoid the use of sparse file support.<ref>{{Cite web|url=https://linux.die.net/man/8/e2image: e2image(8) - Linux man page}}</ref> |
||
== Features == |
== Features == |
Revision as of 22:57, 20 October 2022
qcow is a file format for disk image files used by QEMU, a hosted virtual machine monitor.[1] It stands for "QEMU Copy On Write" and uses a disk storage optimization strategy that delays allocation of storage until it is actually needed. Files in qcow format can contain a variety of disk images which are generally associated with specific guest operating systems. Three versions of the format exist: qcow, qcow2 and qcow3[2] which use the .qcow, .qcow2 and .qcow3 file extensions, respectively.
qemu-img
command allows to inspect, check, create, convert, resize and take snapshot of qcow images.[3] The e2fsprogs command e2image also has support for generating qcow2 files to avoid the use of sparse file support.[4]
Features
One of the main characteristics of qcow disk images is that files with this format can grow as data is added. This allows for smaller file sizes than raw disk images, which allocate the whole image space to a file, even if parts of it are empty. This is particularly useful for file systems that do not support sparse files, such as FAT32.[5]
The qcow format also allows storing changes made to a read-only base image on a separate qcow file by using copy on write. This new qcow file contains the path to the base image to be able to refer back to it when required. When a particular piece of data has to be read from this new image, the content is retrieved from it if it is new and was stored there; if it is not, the data is fetched from the base image.[5]
Optional features include zlib-based transparent decompression.[6]
qcow2
qcow2 is an updated version of the qcow format. qcow2 supports AES encryption.[7] The difference from the original version is that qcow2 supports multiple snapshots using a newer, more flexible model for storing them. The official documentation for the format is part of the QEMU Git tree.[8]
References
- ^ "QEMU Emulator User Documentation". Wiki.qemu.org. Retrieved 2011-12-12.
- ^ "Features/Qcow3 - QEMU".
- ^ "Qemu-img(1): QEMU disk image utility - Linux man page".
- ^ e2image(8) - Linux man page https://linux.die.net/man/8/e2image: e2image(8) - Linux man page.
{{cite web}}
: Check|url=
value (help); Missing or empty|title=
(help) - ^ a b "The QCOW Image Format". People.gnome.org. 2006-06-21. Retrieved 2013-04-23.
- ^ "The QCOW2 Image Format (outdated)". People.gnome.org. 2008-09-11. Retrieved 2011-12-12.
- ^ "Qcow2 Disk Images and Performance | JamesCoyle.net Limited". 2 March 2016.
- ^ "QEMU Git tree - docs/interop/qcow2.txt". qemu.org. 2018-04-10. Retrieved 2018-05-29.