We have a DPM 2012 server (build 4.0.1920.0) with a storagepool of 5 x 2 TB disks. A few months ago there were still 6 disks attached but because of a better backupscenario we were able to save a lot of disk space. We ran MigrateDatasourceDataFromDPM.ps1 to free one disk, the retention period was 31 days, and after that period the data was automatically transferred to the other disk and we disconnected that 1 disk.
After a while there was again more than 3 TB free so we decided to use that script again. But when we tried it again we got the error ;
Set-DPMProtectionGroup : D:\ has recently been migrated. You cannot migrate D:\ again until the recovery points on the previous replica volume are available. (ID: 31224)
At that point we let it rest for a while, but the last few weeks I tried it again and I keep getting the same errors.
PS C:\Program Files\Microsoft DPM\DPM\bin> MigrateDatasourceDataFromDPM.ps1 -DPMServerName dpmserver01 -Source $disk[1] -Destination $disk[0,2,3,4]
Set-DPMProtectionGroup : D:\ has recently been migrated. You cannot migrate D:\ again until the recovery points on the previous replica volume are available. (ID: 31224)
At C:\Program Files\Microsoft DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1:108 char:22
+ Set-ProtectionGroup <<<< $mpg
+ CategoryInfo : NotSpecified: (:) [Set-DPMProtectionGroup], DlsException
+ FullyQualifiedErrorId : ChainedMigrationError,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.CommitProtectionGroup
Remove-DPMDisk : Disk 6 cannot be removed from the storage pool because it contains storage pool volumes. (ID: 355)
At C:\Program Files\Microsoft DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1:110 char:16
+ Remove-DPMDisk <<<< $Source
+ CategoryInfo : NotSpecified: (:) [Remove-DPMDisk], InvalidDiskException
+ FullyQualifiedErrorId : DiskContainsSpmVolumes,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.RemoveDPMDisk
We have waited several months now so we are certain that there are no old recovery point left. But still we keep getting these errors. We also ran pruneshadowcopiesDpm2010.ps1, but this does not resolve the issue. I've tried out several scripts to find old recoverypoints/shadowcopies that would cause this, but I can not discover why this is happening. Doe anyone have an idea how I can solve this?
- Edited by Peter Camps Thursday, May 02, 2013 12:29 PM