Windows Dedup implementation issue

oikjn

Ars Scholae Palatinae
1,015
Subscriptor++
I've run into a strange issue with Windows Dedup that I can't figure out...

The problem is that dedup is processing files that I believe it should not process based on their age. I have configured the drive to only process files 8 days or older, but it appears to completely ignore that setting. It does follow the file format exception, but in this case I need to use the file age rule.

For example, I have a file that was created 5/8/2020, modified 5/13/2020. I was expecting it to be excluded from the process because of the age, but this file was clearly processed as I show it with a size of 310GB and a size on disk of 8GB.


Output from get-dedupvolume | fl

Volume : B:
VolumeId : \\?\Volume{9ad13894-4690-4a60-883d-232ba49e6175}\
Enabled : True
UsageType : Backup
DataAccessEnabled : True
Capacity : 22.83 TB
FreeSpace : 14.57 TB
UsedSpace : 8.26 TB
UnoptimizedSize : 26.4 TB
SavedSpace : 18.13 TB
SavingsRate : 68 %
MinimumFileAgeDays : 8
MinimumFileSize : 32768
NoCompress : False
NearInlineMode : False
ExcludeFolder :
ExcludeFileType : {vib}
ExcludeFileTypeDefault : {bin, vsv, slp, xml...}
NoCompressionFileType : {asf, mov, wma, wmv...}
ChunkRedundancyThreshold : 100
Verify : False
OptimizeInUseFiles : True
OptimizePartialFiles : True
InputOutputScale : 0
IdleTimeoutDefault : 60
AutoStart : True
ChunkIndexCacheVolume :


Full story about the drive. This is a veeam repository on REFS formatted at 64k. This is my secondary storage for longterm GFS storage and I want to dedup the full backups for all but the most recent which happens once a week and I want to keep unoptimized in order to maintain performance while doing things like merges and file checks. I initially thought this might have been a blockclone issue where veeam was using that function to mirror data from one backup to the next, but I have tried copying the file off the drive and onto another drive and then back which should have broken that chain and the issue about deduplication persists.
 

ZPrime

Ars Legatus Legionis
18,847
Subscriptor++
this might be due to OptimizePartialFiles = True, combined with block cloning, and then might possibly be an unintended bug...

just a wild-ass guess though

Do you have any need to allow it to optimize partials? (I wouldn't think so, given your scenario of veeam backup store...) if not, just turn that off and see if it helps?

Even the MS suggested-settings for a "Backup" volume dedupe scenario (scroll down to "Usage types" heading) say that OptimizePartialFiles should be False. They also claim that setting up the Dedupe job(s) using the GUI and choosing "Backup" makes "under the hood tweaks" to improve interop with MS DPM "and other similar solutions" (presumably Veeam)...