All posts tagged Deduplication

Quickly view Windows Server 2012 R2 Deduplication Savings

You can quickly view the Deduplication Status / Savings, on a volumes by using the following two PowerShell commands. “Get-DedupStatus” / “Get-DedupVolume”

Here is an example of Get-DedupStatus output:

 PS C:\Windows\system32> Get-DedupStatus

FreeSpace     SavedSpace     OptimizedFiles     InPolicyFiles     Volume
———          ———-           ————–           ————-        ——
473.56 GB     71.37 GB          27746                     27746                  D:

You can also use the following command to get even more info “Get-DedupStatus | fl”

Below is an example of the “Get-DedupVolume” command, again the following can be added for more info “| fl”

PS C:\Windows\system32> Get-DedupVolume

Enabled            UsageType          SavedSpace           SavingsRate          Volume
——-                ———                 ———-                 ———–              ——
True                   Default                 71.37 GB                49 %                      D:

 

Windows Server 8 – Deduplication

One of the long overdue features of Windows Server 8, is Data Deduplication. Deduplication can be enabled for NTFS volumes, and is part of the File Server role.
Deduplication works by examining the files on the disk, looking for duplicate files, once one is found the duplicate file will be referenced to the first file found. This means that two identical 1GB files, would only take up 1GB (The First File) + 4KB (The second file that points to the first file). This will intern allow us to store much more data onto a single disk.

Installing Deduplication –

The first step is to add the data deduplication role service; this is done in the new Server Manager and is a single step.

dedupe

Once the role is installed, the next steps are to start the Data Deduplication Service (ddpsvc) and set it to Automatic startup. This is done in the normal services management snap-in. Then, each eligible volume needs to be configured for deduplication. Keep in mind that C:\ drives are not supported for NTFS deduplication, Configuring a volume for deduplication is done by right-clicking on the volume in Server Manager and selecting “Configure Deduplication”.

de2

There are two primary options for deduplication, folder and file type exclusions. Those are configured in Server Manager when deduplication is configured. Microsoft don’t recommend deduplication certain file type such as; SQL Databases, VHD Files, Exchange Database. As this could result in a performance decrease. (Testing in a small lab, the performance decrease was unnoticeable.)

de3