Creating VHD and VHDX files using Hyper-V Manager

To create a virtual hard disk using Hyper-V manager, follow these steps:

  1. Open the Hyper-V Manager.
  2. In the Actions pane on the left, click New, then select Hard disk.
  3. A New Virtual Hard Disk Wizard will open. Click Next to skip the introductory screen.
  1. In the Choose Disk Format screen, select the virtual disk type: VHD, VHDX, or VHD Set. Click Next:

  1. Choose the disk type. If your selection in a previous step was VHDFixed size is automatically selected. If your pick was VHDXDynamically expanding is selected. If you chose VHD Set, the Differencing type is not supported, leaving you with only two choices. Click Next:

  1. Specify the name and the location of the virtual disk. Click Next.
  2. On the Configure Disk screen, you can choose from the following options:
    • Create a new blank virtual hard disk
    • Copy the contents of the specified physical disk
    • Copy the contents of the specified virtual hard disk:

  1. On the Summary screen, review your selections and click Finish.

After you have created a virtual hard disk, you can attach it to a virtual machine or any Windows Server 2016 or Windows 10 operating system.

To attach a VHD or VHDX to a VM, follow these steps:

  1. Open Hyper-V Manager.
  2. In the pane in the middle, select a VM.
  3. Open VM Settings (right-click on a VM or click on Settings in the pane on the right).
  4. If a VM is a Generation 1 VM, then you have the option to attach a disk to an IDE Controller as well as to an SCSI Controller. If a VM is a Generation 2, the SCSI Controller is the only option to attach a virtual hard disk. You can have only four IDE devices. Hyper-V in Windows Server 2016 supports up to four Virtual SCSI Controllers and each Virtual SCSI Controller supports up to 64 devices.
  1. In the pane on the left, click SCSI Controller.
  2. In the pane on the right, select Hard Drive and click Add.
  3. The newly-added hard drive is shown in the left pane under SCSI Controller. In the pane on the left, select the newly added Hard Drive:

  1. In the pane on the right, you can create, edit, or inspect a virtual hard disk. Browse and select a previously created virtual hard disk and click Apply.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.118.103