What is the difference between a VHD and a VHDX hard disk format?

Source: Internet
Author: User

VHD and VHDX are not much different, just the maximum capacity is different, use is the same, must switch to GHOST11, is a new VHDX, and then the VHD and VHDX mount, and then ghost11 partition to the partition restore.

  Introduction to VHD and VHDX

One of the biggest advantages of VHDX in the previous VHD format is the virtual hard disk storage capacity. Prior to Windows Server 2012, the Hyper-V virtual hard disk had a maximum 2TB capacity limit. And the maximum VHDX can reach 64TB. The advantages of VHDX are not limited to capacity improvements, VHDX are designed for today's hard drives, and the logical area size of 4KB size helps improve performance compared to VHD files.

By constantly monitoring metadata updates, VHDX also provides file corruption protection features in the event of a sudden power outage, which is not available in the VHD format. Provides a larger block of files for dynamic and differential disks and stores custom metadata attributes, which are different from VHD and VHDX.

  Convert to VHDX format

First, you need to know that you can create and use two formats on Windows Server 2012, but VHDX files are not compatible with Windows Server 2008. Microsoft recommends that most Windows Server 2012 users upgrade the VHD file to VHDX to use the various new features. However, if you want to move the virtual machine to a previous version of Windows Server, it is easier to use the VHD file. The user can convert the VHD file to a VHDX file in the Edit Virtual Hard Disk Wizard in Hyper-V.

This format can provide many new features, such as support for the largest 64TB partitions, better dynamic disk and differential disk performance, and so on VHDX format, you can refer to the technical articles on the web.

First create a dynamically sized, 500M-byte VHD disk file.

  PS d:> new-vhd-dynamic-sizebyte 500MB d:500m.vhd

Computername:cnshzhai

Path:d:500m.vhd

Vhdformat:vhd

Vhdtype:dynamic

filesize:8192

size:524288000

MinimumSize:

logicalsectorsize:512

physicalsectorsize:512

blocksize:2097152

Parentpath:

fragmentationpercentage:0

Alignment:1

Attached:false

Disknumber:

Isdeleted:false

Number:

  The following is a dynamic VHDX disk that transforms the disk to a pass-through type.

PS d:> convert-vhd-passthru-vhdtype Dynamic D:500m.vhd D:500M.VHDX

Computername:cnshzhai

Path:d:500m.vhdx

Vhdformat:vhdx

Vhdtype:dynamic

filesize:4194304

size:524288000

MinimumSize:

logicalsectorsize:512

physicalsectorsize:512

blocksize:33554432

Parentpath:

fragmentationpercentage:0

Alignment:1

Attached:false

Disknumber:

Isdeleted:false

Number:. You can see the VHDX converted virtual Disk file

-A---2012/10/8 13:23 8192 500m.vhd

-A---2012/10/8 13:26 4194304 500m.vhdx

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.