none
Unable to reduce allocated disk space... RRS feed

  • Question

  • Running DPM2007 on Server 2003 R2 SP2.  DPM managed SATA raid array volume as drive D: equals 2TB total disk space.  Currently have about 1TB of data being backed up.  Allocated Disk Space is right at 2TB (1GB free space remaining on volume).  I've attempted to modify disk allocation of some of the protection groups, (e.g., reducing # of days to store snapshots, # of snapshots, etc.), but the volume disk space remains the same, and the "allocated" space does not reduce.  I'm hoping there is a way to force the resizing of the volume, without having to rebuild the protection group.  Is this possible at all?  Thanks.
    Friday, September 10, 2010 8:17 PM

Answers

  • Hi,

    DPM 2007 does not offer a way to shrink the recovery point volume.  DPM 2010 has that feature.  However, your issue is two fold.

    1) After reducing the number of days (retention range) you want backups for, DPM will not delete the recovery points until midnight when the maintenance jobs run.  You can manually run the DPM Power shell command called pruneshadowcopies.ps1 and that will delete the older recovery points and free up the disk space associated with the expired recovery points.

    2) What you are left with now is a volume that has more free space, but no way to shrink it, that is because Windows 2003 does not support shrinking a volume.  If you upgrade the server to Windows 2008, you can use the diskpart.exe to shrink the volumes.  See http://technet.microsoft.com/en-us/library/cc772210(WS.10).aspx

    If upgrading is not in the cards, then you are left with removing the data source from protection, and chose the option to delete the replica data, then re-protect it using smaller allocations.

     


    Regards, Mike J [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, September 10, 2010 8:57 PM
    Moderator

All replies

  • Hi,

    DPM 2007 does not offer a way to shrink the recovery point volume.  DPM 2010 has that feature.  However, your issue is two fold.

    1) After reducing the number of days (retention range) you want backups for, DPM will not delete the recovery points until midnight when the maintenance jobs run.  You can manually run the DPM Power shell command called pruneshadowcopies.ps1 and that will delete the older recovery points and free up the disk space associated with the expired recovery points.

    2) What you are left with now is a volume that has more free space, but no way to shrink it, that is because Windows 2003 does not support shrinking a volume.  If you upgrade the server to Windows 2008, you can use the diskpart.exe to shrink the volumes.  See http://technet.microsoft.com/en-us/library/cc772210(WS.10).aspx

    If upgrading is not in the cards, then you are left with removing the data source from protection, and chose the option to delete the replica data, then re-protect it using smaller allocations.

     


    Regards, Mike J [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, September 10, 2010 8:57 PM
    Moderator
  • Thanks Mike.  Makes sense. Good to know about the ps1 script.
    Saturday, September 11, 2010 1:27 AM