Jump to content

Recommended Posts

Posted

I Hope someone can help because this has been annoying me since Friday, I have a 2012r2 VM Host server that I want to transfer our physical Admin server to, I used Disk2VHD to create a VHDX, that all went fine but now that I have copied the VHDX to the host when I try to add it to the VM I get the error The storage where the virtual hard disk is located does not support virtual hard disk sharing I'm not trying to share the virtual disk and have checked in the advanced features that the "Enable virtual hard disk sharing" is un-ticked.

 

I tried creating a new VM and even if I tell it to create a new virtual disk I still get the same error.

 

The Host OS is on a raid 1 SSD mirror and the storage for the virtual disks is on a Raid 5 array.

 

I've googled the issue but haven't really got far because most of the answers are to try and get VHD sharing working which I don't need nor want as it's a OS drive.

 

Has anyone got any ideas of things to try? I've installed all the windows updates on the Host.

Posted
Might be worth mounting the vhdx in diskmanager at least should rule out a corrupt vhdx file. Once you have dismounted the disk try adding it again. Failing that you could try using microsofts virtual machine converter to virtualise the physical server and see if that works.
  • Thanks 1
Posted
Thanks for the reply, the vhdx mounts just fine and I can brows both the partitions on it, I'll give Microsoft virtual machine converter at try
Posted

Is it possible the VHDX is locked by the system because you have browsed it, and because HyperV sees the system lock and your system cannot support sharing it throws the sharing error?

 

Make sure you don't have the VHD mounted anywhere and reboot the VM host?

  • Thanks 1
Posted
Is it possible the VHDX is locked by the system because you have browsed it, and because HyperV sees the system lock and your system cannot support sharing it throws the sharing error?

 

Make sure you don't have the VHD mounted anywhere and reboot the VM host?

I've tried that a few times but it still come up with the same message. Also I'm getting the same issue when creating a new VHDX through the new VM wizard :-/
Posted

Try creating the Virtual Hard Disk via PowerShell script. Just direct the Virtual Hard Disk to the C:\ of your Computer to see if you are getting the same error message as it might be Raid / Storage Path Related. You may need to specify Virtual Machine if needed.

 

Check your Default settings in Hyper-V Manager as well as you might be creating the VHD to an old Path when a new path is available. Delete the Existing Virtual Machine and re-create then attach, you may have created a bad Virtual Machine as the VHD is not accepting it.

 

What is your current setup with Hyper-V at the moment. Have you only got one Windows Server 2012 R2 Node in a Raid 1? How is the Hyper-V Manager laid in the Settings option?

 

VHD Sharing will not work unless you have 2 Hyper-V Hosts in a Domain with Backend Storage available for both Hosts.

 

 

  • At least two servers that are running Windows Server 2012 R2.
     
  • The servers must be members of the same Active Directory domain.
     
  • The servers must support Hyper-V. For more information, see the "Hardware requirements" section of Hyper-V overview.
     
  • The servers must meet the requirements for failover clustering. For more information, see Failover Clustering Hardware Requirements and Storage Options and Validate Hardware for a Failover Cluster.
     
  • The servers must have access to block-level storage, which you can add as shared storage to the physical cluster. This storage can be iSCSI, Fibre Channel, Serial Attached SCSI (SAS), or clustered storage spaces that use a set of shared SAS just-a-bunch-of-disks (JBOD) enclosures.

    Chris.
     

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...