none
relationship between total disk space used by the DPM server and datasource's disk allocation parameters RRS feed

  • Question

  • Here is a simple question, I'll try to be as straigh forward as I can.

    In the management view we can see the total disk capacity along with the Used Disk Space and Unallocated Space.

    In the protection view we can drill down to a datasource to see it's disk allocation parameters.

    If we add up the replica volumes space used for each datasource, shouldn't this match with the total Disk Space Used in the management view?

    Im trying to find out of there is a relationship between any of the datasource disk allocation parameters (Replica volume allocated, Replica volume used, Recovery point volume allocated, Recovery point volume used) and the total Disk Space Used repoted in the DPM Management secion.

    -Tom

    Saturday, November 5, 2011 10:32 PM

All replies

  • Hi,

    Yes, the formula is very simple.

    [All replica volume allocated] + [All recovery point volume allocated] = Total disk space used in DPM disk management.

    The disk space un-allocated in DPM disk management is space you can use to protect more data sources, or extend existing volumes used for replica or recovery points.


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Saturday, November 5, 2011 11:15 PM
    Moderator
  • Mike im not seeing those results, here is a simple script that adds up all the [All replica volume allocated] + [All recovery point volume allocated], the total should match the used disk space in management, but it doesn't.

    ##begin script

    ## disktotals.ps1

    write-host "...geting datasources from DPM`r"

    $dsarray = @(Get-ProtectionGroup -DPMServer My_DPM_server | foreach {Get-Datasource $_})

    Foreach ($ds in $dsarray)  {
    $DiskUsed = $ds.ReplicaUsedSpace + $ds.ShadowCopyUsedSpace #[replica volume allocated] + [recovery point volume allocated]
    $TotalDiskUsed = $TotalDiskUsed + $DiskUsed # adding up the individual datasources
    }
    $TotalDiskUsed = [System.Math]::Round(($TotalDiskUsed * 1.0) / (1024.0 * 1024.0 * 1024.0), 2); #Convert result to GB

    Write-Host "Total Disk (GB): " $TotalDiskUsed #write total

    ##end script

     

     do you know why?

    -Tom

     

    Sunday, November 6, 2011 2:00 AM
  • Hi,

    If you have any data sources that are co-located (SQL DB's, Clients, Hyper-V VM's) - then you can't count more than one datasource that is on the same replica volume.

     

    Probably the easiest way to see this relationship is to run DISKPART.EXE - then a LIST VOLUME command and total up all the volume sizes for volumes used by DPM.  Basically all the volumes that having mountpoints under c:\program files\Microsoft dpm\dpm\volumes.


    Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Monday, November 7, 2011 7:46 PM
    Moderator