refsutil dedup
The refsutil compression command manages data deduplication on a specified Resilient File System (ReFS) volume. Windows commands reference
On Windows
Windows
The refsutil compression command manages data deduplication on a specified Resilient File System (ReFS) volume. You can either deduplicate the volume or scan it to see how much space can be saved by deduplicating equivalent clusters. You can also control CPU usage and choose between memory-mapped file I/O or asynchronous reads.
refsutil dedup <drive> [/d] [/s] [/cpu <percentage>] [/mm]
To scan the D: volume and see how much space you can save by deduplicating equivalent clusters, run the command
refsutil dedup D: /sIdentify/sScans the volume to determine how much space can be saved by deduplicating equivalent clusters. Windows commands referenceTo deduplicate the D: volume using 50% of CPU resources, run the command
refsutil dedup D: /d /cpu 50Identify/dDeduplicates the volume. Windows commands reference/cpuSpecifies the maximum percentage of CPU to use. Windows commands referencedriveSpecifies the volume path in the E: format or a mount point./dDeduplicates the volume.
This parameter can't be used with the /s parameter./sScans the volume to determine how much space can be saved by deduplicating equivalent clusters.
This parameter can't be used with the /d parameter./cpu percentageSpecifies the maximum percentage of CPU to use. Acceptable values are between 1-100./mmUses memory-mapped file I/O to read files for deduplication.
This parameter must be used with either the /d or /s parameters.