This churn on the volume may cause the following problems and side effects:
- Deletion of Volume Shadow Copy Service (VSS) shadow copies
- Heavy I/O load on the system, especially if the server is already running a high-churn or IO-intensive deduplication workload
- Increased volume workloads for some solutions (such as incremental backup and file replication) that grow because of file churn
- When a workload includes many file deletes or file in-place writes. This causes many chunks to become unreferenced. Problems are also triggered by deletes that cause many chunk containers with old and new chunks to experience compaction.
- When a system has relatively little physical free space. NTFS first uses free space that doesn't cause shadow copy storage-area consumption. If the volume has little free space, NTFS allocates space for new files in areas that trigger "copy on write" behavior. When the storage area runs out, VSS deletes the shadow copies.
- Configure VSS to use a separate (possibly dedicated) volume for its diff area (“shadow storage area”). You can do this by using Vssadmin.exe and other tools. This workaround helps with the shadow-copy deletion issue.
Note There are other performance benefits to having the diff area on dedicated volumes.
- Configure deduplication not to run Full GC but to run garbage collection only in regular mode. By default, garbage collection jobs are scheduled to run weekly. Also by default, every fourth garbage collection job is set to run in Full GC (on a monthly cadence).
Note You can run Full GC on demand by manually running the following Windows PowerShell command:
Start-DedupJob <volume> –Type GarbageCollection –Full
To prevent Full GC, configure the following registry key:
If the system is clustered, you will have to configure the following registry key instead:
This workaround helps to reduce all the side effects that are described in the "Symptoms" section. However, regular-mode garbage collection is not as thorough as Full GC. Some unreferenced deduplication chunks may not be reclaimed if the system never runs Full GC. Nevertheless, regular-mode garbage collection should still reclaim more than 95 percent of unreferenced data.
On a system that's running Windows Server 2012, make sure that hotfix 2897997 is installed. (This is not necessary for Windows Server 2012 R2.)