When we create a CIFS File share on a NetApp cDOT 8.2.1 controller using SCVMM 2012 R2, there are no permissions which are assigned to the newly created CIFS / SMB 3.0 share, due to this we are unable to copy any files to the share as the newly created share lacks read/write access.
Let me illustrate this with an example, below you can see a CIFS share (fileshare_smbsharehyperv) which i created on my fileshare Hyper_V_PR_Quorum using SCVMM2012R2 and SMI-S integration.
When i try accessing the share via a network path, the share is inaccessible and i receive an access denied error.
Now lets examine the permissions of the share from ONTAP perspective using NetApp OnCommand System Manager, here you can see that there are no permissions assigned to the share and hence its rendered inaccessible.
Now let me try assigning this share to My Hyper-V cluster for my Hyper-V over SMB environment. As you can see below the Job status fails an i receive an access denied error.
Now lets again look at the share from the ONTAP perspective using NetApp OnCommand System Manager, here you can see that there are a new set of permissions assigned to the share which includes access rights to the owner account which initiated the JOB and both the computer accounts of the Hyper-V Cluster, the account which is not listed here is the VMM service account.
So let me provide the VMM service account share access control, you can do this using the powershell tool kit cmdlets / via system manager, lets modify the access level to full control.
Next lets restart the failed job in SCVMM, you would see that the JOB and its Sub-JOBS get successfully completed and now SCVMM has full access to the file share, similarly you can configure and add a CIFS SMB 3.0 share created in SCVMM as a library share directly in SCVMM 2012 R2.
Note :- Make sure that the File share resolves both from IP and Name from all the Hosts which are part of the Hyper-V Cluster, DNS resolving issues add up to variety of issues faced with Hyper-V over SMB deployment.
Next try creating a VM from a vhdx file placed on a CIFS library share and enjoy the magic of ODX based provisioning.
I hope that you have enjoyed this blog entry and have found this information helpful.