Got it

What Is a VM Image?

Latest reply: May 18, 2022 02:51:31 3453 23 10 0 0

Hello, everyone!

A VM image is a file that contains a virtual disk on which a bootable operating system has been installed.

VM images have different formats. Common image formats are as follows:

raw: "raw" image format is the simplest and is natively supported by KVM and Xen. You can imagine that raw image and block device files are binary equivalents as if copied from a block device, for example. Run the dd command to copy the contents of /dev/sda to a file.

qcow2: qcow2 (QEMU copy-on-write version 2) format is typically used by KVM and has additional features compared to the raw format, such as the use of sparse file rendering and therefore smaller image size. Supports snapshots. The qcow2 image is sparse. Therefore, the qcow2 image is usually smaller than the raw image. A smaller file means faster uploading. Therefore, converting the raw image to the qcow2 image is faster than directly uploading the raw image file.

UEC tarball UEC (Ubuntu Enterprise Cloud) file is a compressed tar package containing AMI AKI ARI files.

VMDK: VMDK is an image format used for VMware ESXi virtualization.

VDI: Virtual Disk Image (VDI) is the image format used by VirtualBox. OpenStack compute nodes do not directly support the VDI format. Therefore, you need to convert VDI images to other supported formats in advance.

VHD: VHD Microsoft Hyper-V uses the VHD image format.

VHDX The Hyper-V version in Microsoft Server 2012 uses the new VHDX format, which has added new features over VHD such as support for larger disks and protection against data loss in the event of an unexpected power failure. 

OVF: OVF is a VM packaging format defined by the Distributed Task Management (DMTF) standard group. A single OVF package contains one or more image files. XML metadata files with the .ovf suffix contain information about virtual machine information and other files. OVF packages can be distributed in several ways, for example, through a series of discrete files or through a tar archive (.ova suffix). Currently, OpenStack compute nodes do not support OVF packages. If you want to use them in OpenStack, you need to release disk image files from OVF.

ISO: ISO format is the format in which a disk image is formatted into a read-only ISO 9660 (ECMA-119) file system, typically used on CDs and DVDs. Generally, ISO is not considered as a virtual machine image format. Since it contains a bootable file system, you can think of it as a virtual machine image file.

VM image disk format

The VM disk format refers to the underlying disk image format. Virtual device vendors have different formats to store information contained in VM disk images.

Common image disk formats are as follows:

·raw: unstructured disk image format; If you have a disk file with no extension, the disk file may be in raw format.

· vhd: VHD disk format, which is common to VMware, Xen, Microsoft, VirtualBox, and other hypervisors.

· vmdk: A common format that can be supported by multi-clock hypervisors.

· vdi: A format that can be supported by the VirtualBox hypervisor and the QEMU emulator.

· qcow2: Supported by the QEMU simulator, supports dynamic expansion and the copy-on-write feature.

· iso: archive format of CD-ROM data, for example, CD-ROM.

Hope this helps!


The post is synchronized to: Surprising Cloud Computing

  • x
  • convention:

olive.zhao
Admin Created Feb 23, 2022 11:16:42

Hello, all!

This is a post about the fault location of the image.

[Summary Case] Troubleshooting Image Creation Failure.


View more
  • x
  • convention:

little_fish
Admin Created Mar 26, 2021 13:07:52

good!!!
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Mar 27, 2021 09:54:03 (0) (0)
Thanks!  
user_4001805
Created Mar 26, 2021 14:11:00

very helpful
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Mar 27, 2021 09:54:11 (0) (0)
Thanks!  
NTan33
Created Mar 27, 2021 06:30:47

A useful glossary of terms relating to VM images.
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Mar 27, 2021 09:54:23 (0) (0)
Thanks!  
Unicef
MVE Created Mar 27, 2021 06:35:37

Really useful
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Mar 27, 2021 09:54:29 (0) (0)
Thanks!  
LucianoNhantumbo
Moderator Created May 6, 2021 19:37:50

Olive, You have Huawei as identity. Your knowledge is solid.
View more
  • x
  • convention:

olive.zhao
olive.zhao Created May 7, 2021 05:05:47 (0) (0)
Thanks very much!  
LucianoNhantumbo
Moderator Created May 6, 2021 19:38:00

Olive, You have Huawei as identity. Your knowledge is solid.
View more
  • x
  • convention:

MahMush
Moderator Author Created May 9, 2021 23:44:13

Virtual Machines and their images... briefly explained all types of images.. wonderful work.
View more
  • x
  • convention:

MahMush
Moderator Author Created May 9, 2021 23:44:51

Is VDI format directly supported by the nodes? or what kind of conversion is needed?
View more
  • x
  • convention:

olive.zhao
olive.zhao Created May 10, 2021 07:36:16 (0) (0)
Virtual Disk Image (VDI) is the image format used by VirtualBox. OpenStack compute nodes do not directly support the VDI format. Therefore, you need to convert VDI images to other supported formats in advance.  
kita
Created May 10, 2021 09:10:39

Thanks for sharing
View more
  • x
  • convention:

olive.zhao
olive.zhao Created May 11, 2021 03:44:15 (0) (0)
 
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.