We are unable to create a new mirror_vault relationship with powershell.
$src=$srcCluster+"://"+$srcSVM+"/"+$srcVol
$dst = $dstCluster+"://"+$dstSVM+"/"+$dstVol
[hashtable]$h = @{
"Source" = $src;
"Destination" = $dst;
"Type" = "mirror_vault";
"Policy" = $dstPolicy;
"Schedule" = "hourly";
}
New-NcSnapmirror @h
New-NcSnapmirror : Invalid value specified for "relationship-type" element within "snapmirror-create": "mirror_vault".
--> It seems that New-NcSnapmirror is unable to create mirror_vault -type. Previous command works fine if we change the type to eg. vault.
Also the New-NcSnapmirror help says:
-Type <String>
Specifies the type of SnapMirror relationship. Possible values: dp, ls, vault, restore, transition_data_protection.
Is there any workaround to be able to create mirror_vault?
We have OnTap 9.1RC1 and the powershell toolkit version is 4.3.0.
------
FYI: We have created mirror_vault relatioship using gui. This can be verified with Get-NcSnapmirror:
$tmp = Get-NcSnapmirror -VserverContext test -Destination test:mirrorvault_test1
$tmp.PolicyType
mirror_vault
--> This works, and the syntax of the type seems to be mirror_vault.