Found a drive was running low on space today and on closer inspection with tree size I found that ChunkStore (brilliant name) was taking up the drive space:
Odd as it looks as dedup wasn’t working:
To fix it I ran the following PowerShell:
start-dedupjob -Volume <VolumeLetter> -Type GarbageCollection start-dedupjob -Volume <VolumeLetter> -Type DataScrubbing
What does this do I hear you say, Garbage collection is the process to remove “data chunks” that are no longer referenced i.e. to remove references to deleted files and folders. This process deleted content to free up additional space. Data scrubbing checks integrity and validate the checksum data.
To monitor it I ran:
Get-DedupJob
This seems to have fixed it for me:
Checked Scheduled Tasks… There should be an automatic garbage collection job running periodically. Of course, if you’ve just deleted a bunch of stuff and the job hasn’t run yet…
Well nowadays it’s:
Start-DedupJob -Volume -Type Scrubbing