28 August 2018

Deleting Data on Deduped Volume Doesn't Clear Up Space

I have recently cleared up some data on a drive volume which was deduped via Server 2012 R2.  The dedupe functionality was working extremely well, and I was getting 80% dedupe on a 3.5TB volume, so no complaints there, however when it came time to archive off some data and then delete it, I noticed that the data wasn't actually freeing up. 

This little issue will only occur when you've got Dedupe enabled via the Server OS.  Luckily, there's an easy way to get around this, with a quick PowerShell command.

The solution is to enable something called Garbage Collection.  This is actually a scheduled job that is designed to reclaiming any unused chunks of data that are no longer being referenced by files that have been recently modified or deleted.  WHilst it may run on a scheduled basis, we need to force it to run here, to speed up that process.

Open up PowerShell and type in the following command:

Start-DedupJob D: -Type GarbageCollection -Verbose

The drive letter in bold is whatever your volume is which you'd like to run this on.  Once you've done this, the server will kick into action and will start cleaning up the volume.  You can monitor it's progress by using the following command:

Get-DedupJob


3 comments:

  1. PayPal's auxiliary chat service is the other way to reach PayPal. People who are generally busy in their lives don't have time to talk on the phone. For these people, PayPal offers a chat service that allows people to chat with customer service representatives. Once you start the Help Chat service, one of the team members will contact you. You can continue to chat with them until your problem is resolved. This method helps people and travelers at work because they have a busy schedule.PayPal Bellen

    ReplyDelete
  2. It is important to sign-in and out of your Facebook account after each use, and to avoid using your Facebook account on other browsers or computers, since this will easily impact your account.Facebook Nl Bellen As a result, if you're still having problems with my Facebook not running properly, you'll need to figure out what's causing the problem and follow those quick troubleshooting measures to fix it as soon as possible.

    ReplyDelete