I have a virtual file server that will not replicate due to the storage VHDX that is installed under the SCSI Controller as a virtual hard drive. The drive contains all the file shares for the file server. The VHDX was initially created on different VM which was the DC. If i remove the VHDX the file server will replicate fine but not with the SCSI VHDX installed. I have tried to put the SID of the VM all permissions seems fine the SID of the current host VM is listed under permissions. I even created a new VHDX under Hyper-V manager and copied the contents under the Hyper-V manager but I still get the same General access denied error (0x80070005). Any help will be greatly appreciated.
Here are the Exact errors that I receive from the replication health maybe this may shed some light.
Event ID 32074
Hyper-V successfully enabled replication for primary virtual machine 'FileServer' (Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxx
Event ID 16370
'FileServer' cannot create the storage required for the checkpoint using disk C:\ClusterStorage\volume2\
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxx
Event ID 18012
Checkpoint operation for 'FileServer' failed. (Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxx
Event ID 33676
Replication operation for virtual machine 'FileServer' failed: General access denied error (0x80070005).
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxx
Event ID 32042
Hyper-V failed to generate initial replica for 'FileServer': General access denied error (0x80070005).
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxx
Event ID 33680
Replication operation for virtual machine 'FileServer' failed.
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxx
Event ID 32086
Hyper-V suspended replication for virtual machine 'MIFileServer' due to a non-recoverable failure.
Resume replication after correcting the failure. (Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxx