«

»

Print this Post

Windows Server 2012 New Feature: Large Disk Support for Hyper-V

One of the biggest limitations of Hyper-V in Windows Server 2008 R2 was that it didn’t support storing a Virtual Hard Disk (VHD) on physical disks larger than 2 TB.  This was actually due to the sector size of the physical disk which was supported by Hyper-V.  Larger disks tended to use 4096-byte sectors (also known as 4k sectors).  The problem is Hyper-V in Windows Server 2008 and Windows Server 2008 R2 only support storing a VHD on a physical disk with a 512 byte sector size.  For more information on this issue see Technet KB article 2515143.

We see more large hard drives (3 or 4 TB) becoming more common.  Luckily in Windows Server 2012 this limitation goes away.  Hyper-V in Windows Server 2012 now supports storing VHDs on a physical disk with 4k sectors.  Hyper-V accomplishes this by replacing the VHD file format with a new virtual hard disk file format named VHDX.  VHDX files can be stored on extremely large disks or disk arrays.  In addition, VHDX files can be created up to 64 TB in size compared to the previous 2 TB limitation.

If you are running an existing virtual machine (VM) with the old style VHD files, don’t worry.  On Windows Server 2012 hosts, VHD files can be converted to the new VHDX format simply by editing the VHD through Hyper-V Manager.

To convert a VHD to the new VHDX Format:

(Only available on hosts running Windows Server 2012)

  1. Launch Hyper-V Manager on the Hyper-V Host
  2. Right-click on the virtual machine (VM), and select Settings
  3. Highlight the VHD you’d like to convert and click on the Edit button
  4. When prompted, select Convert and click the Next buttonconvert_vhd_to_vhdx_1
  5. Select VHDX to convert the existing VHD to a VHDX format, then click Nextconvert_vhd_to_vhdx_2
  6. When prompted for the VHDX type, select either Fixed Size or Dynamically expanding.  This choice really depends on the purpose of the VM.  I generally suggest using fixed size for any Exchange and SQL servers, and production servers which need the extra disk performance.
  7. Next, select a location to store the new VHDX file, and a file name, then click Finish.

Please note that this process will not do anything to the existing VHD file.  In fact the VM will continue to use the existing VHD file even though it has created a new VHDX file for you.

 

About the author

Robert Borges

About Robert...

I have been in the IT industry since 1993 focusing mainly in networking. Though I got an early start as an amateur computer enthusiast, and wrote my first database app at age 12, I started my professional career working in the MIS department of one of the largest liquor distributors in the northeast. I started out there as a systems operator on the company’s two mainframe systems. From there I moved into PC support, and help design and implement the company’s first client-server network… This was back in the days of Win NT 3.51. I also worked on my first migration to NT 4.0 back then.

From there I went on to work with Novell 3.x and 4.x along with Windows domains and active directory environments. Working my way up from technician, to specialist, to administrator, and eventually all the way up to Sr. Engineer. I spent many years working for consulting firms, 9 of which I owned and operated my own firm.
Over the years, I have worked with (at an expert level) various versions of: Windows client and server operating systems (including Windows 7 and Windows Server 2008 R2);various virtualization technologies (Hyper-V, Virtual Server, Virtual PC, VMware, etc…); MS-SQL server 6.5- 2008 R2; Exchange 4-2010, and much more.

I am now Director of Information Systems at Bay State Integrated Technology focusing on cloud computing and IT service, with expertise in: IT Infrastructure & Architecture, IT Security, and Cloud Computing platforms & technologies (SaaS, PaaS, and IaaS).

I am in a constant state of learning about new products, and new versions of products. Many of which we end up implementing in lab environments and sometimes for our clients. I have a pretty broad range of expertise and experience. It is my goal to share some of this experience on this blog to help enrich the IT community.

Permanent link to this article: http://www.robertborges.us/2013/03/windows/windows-server-2012/windows-server-2012-new-feature-large-disk-support-for-hyper-v/

Leave a Reply