Raw image and qcw2 image convert each other, raw image qcw2

Source: Internet
Author: User

Raw image and qcw2 image convert each other, raw image qcw2

Qcow2 is the minimum usage, while raw is set to zero.

Raw is a raw image, which is directly used as a block device for virtual machines. As for the holes in the files, it is managed by the file system of the host machine, the file system in linux can well support the empty feature,

Therefore, if you create a GB raw file, you can see that the file is GB when ls is used, but the file will be very small If du is used.

Convert qcw2 image to raw image file

# Yum install qemu-img

# Qemu-img convert-f qcow2 win7.qcow2-O raw win7.raw

Convert raw image to qcw2 Image File

# Qemu-img convert-f qcow2 win7.raw-O raw win7.qcow2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.