Q: I have enabled data deduplication on a Windows Server 2012 volume, so why is nothing happening?

A: The data deduplication role doesn't start data deduplication immediately. It will try to run in the background when the system is fairly idle and at the times specified in the schedule when data deduplication was configured.

To force an optimization pass to start, use the Start-DedupJob Windows PowerShell cmdlet, passing the name of the volume on which to start the optimization.

The Start-DedupJob command below would start the optimization on the D drive (note that depending on the size of the volume, this job could take many hours to complete):

PS C:\> Start-DedupJob D: -Type Optimization

It will return input similar to this:

Type ScheduleType StartTime Progress State Volume

---- ------------ --------- -------- ----- ------

Optimization Manual 0 % Queued D:

To check on the status of the running job, use this PowerShell cmdlet:

PS C:\> Get-DedupJob

It returns input such as this:

Type ScheduleType StartTime Progress State Volume

---- ------------ --------- -------- ----- ------

Optimization Scheduled 0 % Queued D:

Optimization Scheduled 0 % Queued D:

Optimization Manual 4:38 PM 24 % Running D:

If you find the deduplication jobs are stopping very quickly, you might not have sufficient free memory available. Normally you should ensure there is at least 1GB of free memory when running the disk deduplication optimize job. Check the Applications and Services, Microsoft, Windows, Deduplication, Diagnostic event log if you are experiencing problems.

To find the details on the deduplication status use this PowerShell cmdlet

Get-DedupStatus

outputting in list format to get the maximum detail:

Volume : D:
VolumeId : \\?\Volume{284a417e-6457-11e1-b9e1-001517c4e105}\
Capacity : 1.82 TB
FreeSpace : 803.84 GB
UsedSpace : 1.03 TB
SavedSpace : 216.33 GB
SavingsRate : 70 %
OptimizedFilesCount : 17442
OptimizedFilesSize : 307.63 GB
InPolicyFilesCount : 42112
InPolicyFilesSize : 1.22 TB
LastOptimizationTime : 4/9/2012 3:45:05 PM
LastOptimizationResult : 0x00000000
LastGarbageCollectionTime :
LastGarbageCollectionResult :
LastScrubbingTime :
LastScrubbingResult :

 

The results above reflect the state of my D volume: Only 24 percent through the optimize process, and it's already deduplicated over 200GB of data.
 

To see more answers about Windows Server 2012, Windows 8, virtualization, and all things IT,  click over to our FAQs page.

Discuss this Article 2

PeterCNZ
on Aug 8, 2012
Another reason you may see the DedupeJob job finish quickly is if there is no data older than 30 days. You can change the minimum file age and run the dedupejob again. i.e. this to change the days to 0 Set-DedupVolume x: -MinimumFileAgeDays 0

Please or Register to post comments.

Latest from the Blog
May 21, 2013
blog

The Big Deal about Big Data

Big Data is definitely one of the most important trends in IT today. Big Data is important because it enables organizations to derive new decision-making information from previously untapped data sources. Like Business Intelligence (BI) Big Data is all about making better and faster business decisions and gaining a competitive business advantage.  ...More
May 2, 2013
blog

Flash Storage Arrays and the Need for Speed

Flash storage has some tremendous performance advantages over traditional rotational drives. Recent advances in the capacities and corresponding reduction in costs of flash storage have opened up many new flash based enterprise options....More
ODX Windows Server 2012
Apr. 24, 2013
Sponsored

Digging Into Windows Server 2012 New Storage Features

Windows Server 2012 has several new storage features that help address today’s storage challenges and bring some of the capabilities that were traditionally only offered by SANs within the reach of smaller businesses, while at the same time offering improved integration with SAN storage....More
Mar. 29, 2013
Sponsored

Going Beyond Virtualization with the Private Cloud

Learn how the private cloud extends beyond virtualization...More

Are you using Virtual Desktop Infrastructure (VDI) technologies?