Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

qcow

From Wikipedia, the free encyclopedia

Virtual hard drive format
This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources.
Find sources: "Qcow" – news ·newspapers ·books ·scholar ·JSTOR
(December 2015) (Learn how and when to remove this message)
qcow
Filename extensions
.qcow, .qcow2, .qcow3
Internet media typeapplication/x-qemu-disk
Developed byQEMU
Type of formatDisk image
CompressionYes
Open format?Yes
Free format?Yes

qcow is afile format fordisk image files used byQEMU, ahosted virtual machine monitor.[1] It stands for "QEMUCopy 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 guestoperating 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] Thee2fsprogs 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 qcowdisk images is that files with this format can grow as data is added. This allows for smaller file sizes thanraw disk images, which allocate the whole image space to a file, even if parts of it are empty. This is particularly useful forfile systems that do not supportsparse files, such asFAT32.[5]

The qcow format also allows storing changes made to a read-only base image on a separate qcow file by usingcopy 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 includezlib-basedtransparent decompression.[6]

qcow2

[edit]

qcow2 is an updated version of the qcow format. qcow2 supportsAES 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. Retrieved12 December 2011.
  2. ^"Features/Qcow3 - QEMU".
  3. ^"Qemu-img(1): QEMU disk image utility - Linux man page".
  4. ^"e2image(8) - Linux man page".
  5. ^ab"The QCOW Image Format". People.gnome.org. 21 June 2006. Archived fromthe original on 6 October 2020. Retrieved23 April 2013.
  6. ^"The QCOW2 Image Format (outdated)". People.gnome.org. 11 September 2008. Archived fromthe original on 4 October 2012. Retrieved12 December 2011.
  7. ^"Qcow2 Disk Images and Performance | JamesCoyle.net Limited". 2 March 2016.
  8. ^"docs/interop/qcow2.txt (latest)". QEMU.Archived from the original on 10 April 2018 – via gitlab.com.
Optical discs
Hard disks
Floppy disks
CDDA
Convention: Any item in this table that has the form of "A+B" or "A+B+C" indicates a disk format that spans multiple files, where A contains the bulk of the data, and B and C aresidecar files.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Qcow&oldid=1276918081"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp