Create Hyper-V VHD Set files
VHD Set files are a new shared Virtual Disk model for guest clusters in Windows Server 2016. VHD Set files support online resizing of shared virtual disks, support Hyper-V Replica, and can be included in application-consistent checkpoints.
VHD Set files use a new VHD file type, .VHDS. VHD Set files store checkpoint information about the group virtual disk used in guest clusters, in the form of metadata.
Hyper-V handles all aspects of managing the checkpoint chains and merging the shared VHD set. Management software can run disk operations like online resizing on VHD Set files in the same way it does for .VHDX files. This means that management software doesn't need to know about the VHD Set file format.
Create a VHD Set file from Hyper-V Manager
- Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager.
- In the Action pane, click New, and then click Hard Disk.
- On the Choose Disk Format page, select VHD Set as the format of the virtual hard disk.
- Continue through the pages of the wizard to customize the virtual hard disk. You can click Next to move through each page of the wizard, or you can click the name of a page in the left pane to move directly to that page.
- After you have finished configuring the virtual hard disk, click Finish.
Create a VHD Set file from Windows PowerShell
Use the New-VHD cmdlet, with the file type .VHDS in the file path. This example creates a VHD Set file named base.vhds that is 10 Gigabytes in size.
PS c:\>New-VHD -Path c:\base.vhds -SizeBytes 10GB
Migrate a shared VHDX file to a VHD Set file
Migrating an existing shared VHDX to a VHDS requires taking the VM offline. This is the recommended process using Windows PowerShell:
Remove the VHDX from the VM. For example, run:
PS c:\>Remove-VMHardDiskDrive existing.vhdx
Convert the VHDX to a VHDS. For example, run:
PS c:\>Convert-VHD existing.vhdx new.vhds
Add the VHDS to the VM. For example, run:
PS c:\>Add-VMHardDiskDrive new.vhds
Send feedback about: