Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Features  





2 qcow2  





3 References  














qcow






Čeština
Français
Hrvatski
Italiano
Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 



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[edit]

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[edit]

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[edit]

  1. ^ "QEMU Emulator User Documentation". Wiki.qemu.org. Retrieved 12 December 2011.
  • ^ "Features/Qcow3 - QEMU".
  • ^ "Qemu-img(1): QEMU disk image utility - Linux man page".
  • ^ "e2image(8) - Linux man page".
  • ^ a b "The QCOW Image Format". People.gnome.org. 21 June 2006. Archived from the original on 6 October 2020. Retrieved 23 April 2013.
  • ^ "The QCOW2 Image Format (outdated)". People.gnome.org. 11 September 2008. Archived from the original on 4 October 2012. Retrieved 12 December 2011.
  • ^ "Qcow2 Disk Images and Performance | JamesCoyle.net Limited". 2 March 2016.
  • ^ "docs/interop/qcow2.txt (latest)". QEMU. Archived from the original on 10 April 2018 – via gitlab.com.

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Qcow&oldid=1178347845"

    Categories: 
    Disk images
    Filename extensions
    Hidden categories: 
    Use dmy dates from September 2023
    Articles with short description
    Short description is different from Wikidata
    Articles lacking reliable references from December 2015
    All articles lacking reliable references
     



    This page was last edited on 3 October 2023, at 02:43 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki