Can't share a virtual hard drive in new Hyper-V setup

Thomas Anthony
Thomas Anthony used Ask the Experts™
on
I am creating a new Hyper-V setup. Host will hold two VMs. One DC and one RDS. I usually create three vhds; one for each machine and one vhd that I share for the data. When I try to connect my DC through the virtual SCSI controller and add a "shared drive" and point it to the virtual drive I created, I get an error that says, "The storage where the virtual hard disk is located does not support virtual hard disk sharing".

I know I have done it this way in older versions of Server. Is there a new proceduressharing.JPG?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2014

Commented:
How can you share a VHDX (or anything else) for data transfer without it being a cluster? You should get data corruption since a copy of the file allocation table is stored in RAM so one VM will overwrite data written by the other.

Even with clustering it is not truly shared since only one node is active at any one time so when failing over it reads the FAT from disk so knows where all the data is.
Thomas AnthonySecurity Administrator

Author

Commented:
So maybe I am not explaining my self properly. I apologize. For years I have been creating a VM for each server on the host that is usually sized just for the OS; around 500gig. Then I have one virtual drive that is sized accordingly for the clients data; 1-2, or maybe even 3TB that is then used just for the client's data. In the past, I believe I have connected it to the VM that acts as my DC and from there I create my shares for the network.
That is what I am trying to accomplish here.
Top Expert 2014
Commented:
You should just add a non-shared VHDX to the DC then.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Top Expert 2016

Commented:
you can use a network path to the vhdx
Network Engineer
Commented:
From Hyper-V Manager, a shared VHDX is for clustering when 2 VMs have access to the same disk. This is not what you're trying or need to do.

Just add a regule non-shared VHDX, and then do the sharing from standard Windows Server management tools (not Hyper-V).
Thomas AnthonySecurity Administrator

Author

Commented:
Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial