Cant create shared VHDX

Hi, I am trying to create a shared VHDX to use on 2 Hyper-V machines to create a failover storage cluster for my general file shares.

Already I have a SOFS with 2 nodes. On these nodes I have created a SOFS role, and it is configured with 2 shares that I use one for replication and one for virtual machine files. This works fine.

However I am now creating a VHDX on one of the shares of the SOFS and then trying to find the "Advanced" setting under the disk. However all I can see is Quality of Service.

Is there something I am missing to get this "Advanced" tab?

Edit - Looked in to it a bit more and they have changed how to create a shared vhdx in 2016. I have tried to create it through Hyper-V in server 2016 and I now get errors saying

"Failed to create the virtual disk . the system failed to create"
"the filename is reserved for use by windows"
"the request is not supported"

My server cluster is 2016 and my SOFS cluster is 2012 R2.

ANy help is appreciated.
LVL 6
CaptainGibletsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Make sure Constrained Delegation is set up for VMMS and CIFS across all server nodes involved.

We have a set of PowerShell scripts that set up the VHDX something like this:

New-VHD -Path \\SOFS-FS\ShareName\VMRole1_D0.VHDX -Dynamic -SizeBytes 50GB
New-VM -Name [b]VMRole1[/b] -Generation 2 -Path \\SOFS-FS\ShareName\VMRole1 -Memory 2GB –SwitchName "vSwitch-Shared" –BootDevice CD -VHDPath \\SOFS-FS\VMRole1\VMRole1_D0.VHDX

Open in new window


That should give you a good start. Once CD is set up (search KCD for script examples) it should just work.
0
CaptainGibletsAuthor Commented:
I’ve read another persons post who said they couldn’t get a 2016 shared buds to work on 2012 sofs.  Once he moved to 2016 sofs it worked without issue


Does that sound correct or have you heard of it working the way I am try?
0
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
"buds" ?

Why? SOFS is SOFS whether it's on 2016 or 2012 R2. It's a highly available share accessible via network.

Constrained Delegation tends to be the straw that breaks things.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

CaptainGibletsAuthor Commented:
Sorry was meant to be vhds but my phone auto corrected

I have done some more testing and from one of the 2016 servers that is in the cluster for hyper-v I have opened powershell as admin and tried to create the VHDS, it fails with the errors I mentioned, however if I delete the S from VHDS or change it to an X it created the VHD's without any issue.
0
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
There is no "S" in the extension for a virtual disk. The proper extension is DISKName.VHDX
0
CaptainGibletsAuthor Commented:
I am following these instructions to create a shared VHDX

https://www.tech-coffee.net/shared-virtual-hard-disks-in-hyper-v-2016/

I have looked at 10+ articles and they all say to create and show demos using a VHDS.

I've probably said it wrong its a VHD Set
0
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Ah, I sit corrected.

Are you able to create the VHD Set (VHDS) via PowerShell on one of the SOFS nodes to local storage? This post has instructions on setting up Shared VHDX on 2012 R2 so that should not be the problem.

Reading this Microsoft Document on VHD Sets tells me that the 2012 R2 SOFS backend is probably not going to work since the feature was introduced with 2016 GA.
0
R@f@r P@NC3RVirtualization SpecialistCommented:
Hello,

Both virtual machines are connected to the same switcher?

Are they in the same VLAN and belong to the same IP range?

Seeing the documentation of how to share the discs in Hyper-V, I think the steps are very detailed, if you do them in the same way and can not share the discs, there is more that needs to be configured.

Validate the iSCSi controller of the disk, they are the key factor to be able to share the disks between virtual machines.

for example, in vmware, when a virtual disk is created, an iscsi controller is always assigned under the numeration 0: 0.

If I wanted to share a new disk with another vm, I should assign the scsi controller to the disk under the numbering 1: 0 and the other vm equal, so that the shared disk connects to that specific controller.

Validate the iscsi controller to see what options we can modify and get the vm to share the disk.

I remain attentive to your comments.

regards..
0
R@f@r P@NC3RVirtualization SpecialistCommented:
Hello,

Please check this link, indicate in detail how to share the disk in Hyper-v.

http://elinformatiku.es/hyper-v-2012-r2-vhd-compartido-vhd-shared/

I remain attentive to your comments.

regards...
0
CaptainGibletsAuthor Commented:
Sorry but all the information that you provided related to 2012 shared VHDX but I am trying to use the 2016 shared VHD set.
0
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Reading this Microsoft Document on VHD Sets tells me that the 2012 R2 SOFS backend is probably not going to work since the feature was introduced with 2016 GA.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CaptainGibletsAuthor Commented:
Yea I think that’s the answer I posted on the storage technebt forum and a ms rep said no as well 😵
0
CaptainGibletsAuthor Commented:
I will close when I get back to work.  Can’t find the accept button on my pho e
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.