- KVM Virtualization Cookbook
- Konstantin Ivanov
- 282字
- 2021-07-02 22:07:04
There's more...
In this recipe, we listed the supported disk image formats by QEMU. The following is a brief description of the most common types that you might encounter:
- raw: Raw disk image format. This is the default format and can be one of the fastest file-based formats. If you format this image with a filesystem that supports holes, for example, EXT3, then only sectors that have data will use space. The main drawback of the raw images is the lack of features, making them ideal for testing and quick prototyping.
- qcow2: As we mentioned in the previous section, this is one of the most feature-rich formats. It supports VM snapshots, compression, and encryption for the price of slightly reduced performance.
- qcow: This is an older QEMU image format that supports backing files, compact image files, encryption, and compression.
- dmg: This is the Mac disk image format. The Mac disk image provides secure password protection and compression, and it is most commonly used to distribute software, rather than running virtual machines.
- nbd: The network block device, typically used for accessing remote storage devices.
- vdi: This disk format is used by the Oracle VirtualBox software and can be used to run virtual machines on various CPU platforms.
- vmdk: This is the VMware disk image type, where a single virtual hard disk can span multiple files.
- vhdx: Microsoft Hyper-V uses this image format. It provides large storage capacity, data corruption protection during power failures and read/write optimization for larger disk images.
In this book, we are going to use the raw and qcow2 disk formats, as they provide the best performance and toolset for running and manipulating them.
推薦閱讀
- ClickHouse性能之巔:從架構(gòu)設(shè)計解讀性能之謎
- Qt 5 and OpenCV 4 Computer Vision Projects
- MySQL 8從入門到精通(視頻教學版)
- 跟老齊學Python:輕松入門
- Blockly創(chuàng)意趣味編程
- Python機器學習編程與實戰(zhàn)
- 大數(shù)據(jù)分析與應(yīng)用實戰(zhàn):統(tǒng)計機器學習之數(shù)據(jù)導向編程
- Quantum Computing and Blockchain in Business
- Scala編程(第5版)
- 移動增值應(yīng)用開發(fā)技術(shù)導論
- Android應(yīng)用開發(fā)實戰(zhàn)
- 從程序員角度學習數(shù)據(jù)庫技術(shù)(藍橋杯軟件大賽培訓教材-Java方向)
- Arduino電子設(shè)計實戰(zhàn)指南:零基礎(chǔ)篇
- 原型設(shè)計:打造成功產(chǎn)品的實用方法及實踐
- Implementing Domain:Specific Languages with Xtext and Xtend