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)
- Launch Hyper-V Manager on the Hyper-V Host
- Right-click on the virtual machine (VM), and select Settings
- Highlight the VHD you’d like to convert and click on the Edit button
- When prompted, select Convert and click the Next button
- Select VHDX to convert the existing VHD to a VHDX format, then click Next
- 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.
- 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.
Related
Robert Borges
About Robert...
I have been in the IT industry since 1993 focusing mainly on 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 when I worked on my first migration to Windows NT 4.0 server.
From there I went on to work with Novell 3.x and 4.x along with Windows domains and Microsft's brand new Active Directory. Working my way up from technician to specialist, to an administrator, and eventually all the way up to Sr. Engineer. I spent many years working for MSPs/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 11 and Windows Server 2019); various virtualization technologies (Hyper-V, VMware, etc.); MS-SQL server 6.5- 2014 R2; Exchange 4-2019, and much more. Over the years I have built a lot of experience around the Microsoft Azure and Microsoft 365 cloud environments.
I am now CTO at Infused Innovations where our team is focusing on helping clients build a Secure Intelligent Workplace through InfoSec (Zero Trusts Framework), Modern Workplace, and Business Intelligence.
I have been heavily involved in the IT user group community, including serving as president of the board of Boston User Groups, Inc., and president of IT-Pro User Group. In 2017/2018 Microsoft awarded me the Microsoft MVP (Most Valuable Professional) Award, with a focus of Microsoft Azure cloud, for my efforts in the IT community.
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 very 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: https://www.robertborges.us/2013/03/windows/windows-server-2012/windows-server-2012-new-feature-large-disk-support-for-hyper-v/