How to add a Pass-through disk to a Highly Available Virtual Machine running on a Windows Server 2012 R2 Failover Cluster

How to add a Pass-through disk to a Highly Available Virtual Machine running on a Windows Server 2012 R2 Failover Cluster

  • Comments 2
  • Likes

I was recently asked how to add a Pass-through disk to a Highly Available VM running on a Windows Server 2012 R2 Failover Cluster. I tested the steps I was accustomed to for Windows Server 2008 and found the Disk to be in a ReadOnly state in the VM. As it turns out there are differences in how you add the disk and how Cluster refreshes the VM after the disk as added. Below are the steps to do this successfully:

The first step is to add the disk to Failover Cluster. When you do this the disk will be placed in Available Storage. Note the Disk Number associated with your Pass-through disk for later use.

image

After adding the disk to Failover Cluster, assign it to the VM role and ensure that the disk is online. If it is offline when you perform the remaining steps, the disk will be ReadOnly in the VM with no way to fix it but to start over.

image

image

Now that you have the Pass-through disk added to the VM role, all that is left is to modify the VM setting by adding the Pass-through disk to a virtual SCSI adapter. Before doing this you will need to Shut Down the VM and leave the Configuration resource online. Also ensure the disk is online.

image

Go to the VM Settings from within Failover Cluster administrator by right clicking on the VM and selecting Settings:

image

Click on the SCSI controller, select Hard Drive and then click on Add. You can use the existing SCSI controller the Operating System VHDX is attached too, or add a second one if you like.

image

Click the Physical hard disk radio button and from the drop down select the disk that corresponds to the disk you added to the VM role. This is the disk number you noted above. Click ok to complete the change.

image

Start the Virtual Machine and you will now have access from within the VM to your Pass-Through disk.

image

Here is an abbreviated list of steps if you are familiar with the interfaces and would just like to know what needs to be done so you can go do it.

  1. Add the disk that will be a Pass-through disk to Failover Cluster and assign the disk to the VM role.
  2. Online the disk if it is offline.
  3. Shutdown the Virtual Machine, but leave the Virtual Machine Configuration resource online.
  4. Add the Pass-through disk to the VM configuration. Use the existing SCSI controller or add a second.
  5. Start the Virtual Machine

Steven Andress
Sr. Support Escalation Engineer
Platforms Global Business Support

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • I followd the steps carefully but was unable to perform live migration to other nodes in the cluster.
    Windows Event Log shows Hyper-V-High-Availability EventID 21502,
    Cluster log shows Microsoft-Windows-FailoverClustering Event ID 1069 and 1205
    The VM is a CentOS 6.5 Server with 2 Pass-Through disks.