Today while doing a demonstration on deploying a
server-to-server replica group on Windows Server 2016, I had a new error
message pop up.
New-SRPartnership : Unable to create replication group RG02,
detailed reason: The system cannot find the file specified.
What threw me off was the “The system cannot find the file
specified”.  Well, here is the command
that I used:
New-SRPartnership `
    -SourceComputerName
LON-SVR1 `
    -SourceRGName
RG01 _`
    -SourceVolumeName
M: `
    -SourceLogVolumeName
N: `
    -DestinationComputerName
LON-SVR4 `
    -DestinationRGName
RG02 `
    -DestinationVolumeName
M: `
    -DestinationLogVolumeName
N: `
    -Verbose
I did not specify any file. I logged into LON-SVR4 and tried
to look for the StorgeReplica
log.  It was not present.  When I executed Get-WindowsFeature –Name Storage-Replica,
it returned a state of InstallPending.  Problem solved.
My code was executed from the other member of the
replica.  It rebooted before it told the
other server to do so.  My mistake.  I still do not know what file it was referring
to, but the reboot needed to complete the installation fixed the problem.
Comments