Hyper-V and vSphere storage APIs: Tailoring your virtual environment
A comprehensive collection of articles, videos and more, hand-picked by our editors
What impact will the new Hyper-V Generation 2 virtual machines have on data storage?
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
One of the boldest new Windows Server 2012 R2 Hyper-V features is the ability to create Generation 2 virtual machines (VMs). Generation 2 VMs offer a number of exciting capabilities, many of which are directly related to storage.
In case you haven't heard about Generation 2 virtual machines, they are designed to be more efficient than first-generation VMs. They do not use emulated hardware, but instead make use of a fully exposed virtual bus. However, this change limits your operating system choices. In addition, Generation 2 VMs only support 64-bit editions of Windows Server 2012, Windows Server 2012 R2, Windows 8 or Windows 8.1.
Generation 2 VMs still make use of VHDX-based virtual hard disks, but the guest operating system now treats the VHDX file as a SCSI disk. Incidentally, Generation 2 VMs also support Preboot Execution Environment (PXE) booting.
From a storage management standpoint, the most significant benefit to using Generation 2 virtual machines is that they make it possible to dynamically resize storage on an as-needed basis. VHDX files can be expanded or compacted while the VM is running. This holds true even for boot VHDX files.
Other Hyper-V features available with Generation 2 virtual machines include the ability to clone or export a VM while it is running. A virtual machine can be cloned in its current state, or the cloning process can be based around a VM checkpoint. The checkpoint Hyper-V feature has replaced the Hyper-V snapshot feature.
Generation 2 VMs do not use emulated IDE controllers, but rather communicate with VHDX files using native SCSI commands. This leads to a significant increase in VM performance. Windows Server 2012 R2 is still in development, so no official performance benchmarks exist yet, but my own observations have been that Generation 2 VMs seem to boot approximately 30% faster than a Generation 1 VM running on comparable hardware. I have also seen a major performance improvement when it comes to OS installation. On my test servers, the OS installed on a Generation 2 VM in less than half the time that it took to install on a Generation 1 VM.
About the expert:
Brien Posey is a Microsoft MVP with two decades of IT experience. Before becoming a freelance technical writer, Brien worked as a CIO for a national chain of hospitals and health care facilities. He has also served as a network administrator for some of the nation's largest insurance companies and for the Department of Defense at Fort Knox.
Related Q&A from Brien Posey
Browser malware can make it impossible to access websites you might need for work. Luckily, there's a simple way IT and end users can get rid of ...continue reading
There are four common execution policies IT administrators can choose from to secure PowerShell against malicious attacks. Figure out which one is ...continue reading
If you're looking to get away from nightly tape backups, and want to replicate data to various types of storage media, a continuous data protection ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.