none
How to stop using one of DPM storage pool disks RRS feed

  • Question

  • Hello,

    I'm trying to stop using one of disks in the DPM storage pool. As i know to do this i should migrate data source from this disk to another. I want migrate data form disk3 to disk4. 

    I have found this article about datasource migration: http://blogs.technet.com/b/askcore/archive/2009/06/22/how-to-use-the-migratedatasourcedatafromdpm-ps1-dpm-powershell-script-to-move-data.aspx

    This is the output of .ps command "Get-DPMDisk -DPMservername myserver" in my environment

    So if I understand everything correctly after i creating array $disk = Get-DPMDisk -DPMservername myserver my migration command should be this:

    ./MigrateDatasourceDataFromDPM.ps1 -DPMServerName myserver.domain.com -Source $disk[0] -Destination $disk[3]

    Unfotunately after i launching migration script I getting errors:

    *************************************************************

    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-DPMDatasourceDiskAllocati
       on], DlsException
        + FullyQualifiedErrorId : InvalidDiskObject,Microsoft.Internal.EnterpriseS
       torage.Dls.UI.Cmdlet.ProtectionCmdLets.SetDiskAllocation
    set-datasourcediskAllocation : The specified disk(s) is invalid or does not
    have enough disk space. (ID: 31222)
    Verify that you specified a valid set of disk objects with sufficient free
    disk space, and that the selected disks have been added to the DPM storage
    pool.
    At C:\Program Files\Microsoft System Center 2012
    R2\DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1:109 char:4
    +             set-datasourcediskAllocation -Datasource $ds -ProtectionGroup
    $mpg -MigrateDa ...
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-DPMDatasourceDiskAllocati
       on], DlsException
        + FullyQualifiedErrorId : InvalidDiskObject,Microsoft.Internal.EnterpriseS
       torage.Dls.UI.Cmdlet.ProtectionCmdLets.SetDiskAllocation
    set-datasourcediskAllocation : The specified disk(s) is invalid or does not
    have enough disk space. (ID: 31222)
    Verify that you specified a valid set of disk objects with sufficient free
    disk space, and that the selected disks have been added to the DPM storage
    pool.
    At C:\Program Files\Microsoft System Center 2012
    R2\DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1:109 char:4
    +             set-datasourcediskAllocation -Datasource $ds -ProtectionGroup
    $mpg -MigrateDa ...
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-DPMDatasourceDiskAllocati
       on], DlsException
        + FullyQualifiedErrorId : InvalidDiskObject,Microsoft.Internal.EnterpriseS
       torage.Dls.UI.Cmdlet.ProtectionCmdLets.SetDiskAllocation
    Remove-DPMDisk : Disk 3 cannot be removed from the storage pool because it
    contains storage pool volumes. (ID: 355)
    At C:\Program Files\Microsoft System Center 2012
    R2\DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1:113 char:2
    +     Remove-DPMDisk $Source
    +     ~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Remove-DPMDisk], InvalidDiskE
       xception
        + FullyQualifiedErrorId : DiskContainsSpmVolumes,Microsoft.Internal.Enterp
       riseStorage.Dls.UI.Cmdlet.RemoveDPMDisk

    ************************************************************************

    Can someone explain what i'm doing wrong or maybe this can be done in some other way.

    Thank you in advance.


    Tuesday, July 14, 2015 7:32 AM

Answers

  • Hi Michael,

    Thanks for your answer. Already found the problem and successfully migrated data. It was my fail  i created $disk array before i added new disk to the DPM storage pool. 


    Wednesday, July 15, 2015 9:10 AM

All replies