Hi
I have to migrate several datasources to custome volumes. There are new requirements and several datasources must be migrated to a new SAN. DPM is in Versio 2012 SP1 with Windows 2008 R2 as OS.
I used the following command:
migratedatasourcedatafromdpm -Dpmservername <name> -Source $ds[0] -Destination $array
-> $ds[0] is my datasource I want to migrate
-> $array is @($vol[0],$vol[1]) where $vol was created using get-dpmvolumes - it listed all my custome volumes correctly
I get the following error about shrinkable thresholds. I don't want to shirnk volumes, I want to migrate them. Unfortunately not sure what I did wrong here.
Error:
Set-DPMDatasourceDiskAllocation : The shrinkable thresholds for the recovery point volume must be calculated prior to shrink. To find shrinkable thresholds, us
e the Get-DatasourceDiskAllocation cmdlet with -CalculateShrinkThresholds parameter. (ID: 32073)
At C:\Program Files\Microsoft System Center 2012\DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1:172 char:33
+ set-datasourcediskAllocation <<<< -Datasource $ds -ProtectionGroup $mpg -MigrateDatasourceDataFromDPM -DestinationReplicaVolume $Destination
[0] -DestinationShadowCopyVolume $Destination[1] -FormatVolumes
+ CategoryInfo : NotSpecified: (:) [Set-DPMDatasourceDiskAllocation], DlsException
+ FullyQualifiedErrorId : NoShrinkableQueryBeforeShrinkFromCmdlet,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.SetDiskAllocation