Data De-Duplication savings with VM/VDI workloads on Windows ‘File’ Server 2012 R2



Some info of my LAB/DEMO environment running Windows Server 2012 R2. These are de-duplication savings from VM workloads delivered by Hyper-V. The environment is up and running for a few years, consisting of around 30+ VM’s. Overall some pretty great results. Volumes with the lowest percentages are storing the greater part of the VM’s. Savings typically are around 55% to 65%.

2015-06-09 09_02_26-WINDOWS81

Data Deduplication is a Role Services which you can install when you are installing File and iSCSI Services in Windows Server 2012.

2015-06-09 09_20_30-WINDOWS81

I enabled the data dedup for VDI feature in Windows Server Manager – File and Storage Manager. To turn it on, select a non system volume destined for VDI or VM workloads, right click and select ‘Configure Data Deduplication…’

2015-06-09 09_35_41-WINDOWS81

That will result in the next screen. Choose the data deduplication (type).

2015-06-09 09_38_22-WINDOWS81

2015-06-09 09_21_56-WINDOWS81

Next, click on ‘Set Deduplication Schedule…’
Configure the schedule so, that it will not impact user experience.

2015-06-09 09_59_04-WINDOWS81

Note: DeDup for VDI  workloads is a feature in Windows Server 2012 R2, only. DeDup for VM/VDI workloads is not available or recommended with the Dedup implementation of’ Server 2012 (non R2). More on Data Dedup in R2:

Windows Server 2012 R2 has another nice feature. Storage Tiering. Didn’t implement this yet since it requires 3 SSD’s and 3 HDD’s at least, for redundancy. More on storage tiering:

Also have a look over here for some great info:




Extending / Shrinking the size of a Hyper-V VM Disk & Windows Guest Operating System


A short tutorial on shrinking a Microsoft Windows Server Hyper-V 2012 (R2)  VM virtual disk and Windows Guest Operating System.

Note that these actions are applicable on Windows Server 2012 (r2) and Windows 8/8.1 But should also work with Windows 7 and Server 2008 (r2) guest OS in a similar fashion. This tutorial will cover the shrinking aspects of a VM virtual disk and guest operating system, extending a disk works in a same manner. (When extending, first start at extending the VM disk, then the OS)

1) Open Hyper-V Manager, Select a VM and open the Console.
2) Right click on the Start Button (windows) and select ‘Disk Management’.
3) Select the volume you would like to shrink, and click on ‘Shrink Volume…’
2015-06-03 10_59_10-WINDOWS81

4)  Define the amount of MB’s to which you would like to reduce the volume with.

2015-06-03 10_59_28-WINDOWS81

5) Click ‘Shrink’ and note the ‘unallocated’ free disk space.

2015-06-03 10_59_42-WINDOWS81

6) Shutdown the VM.

2015-06-03 11_00_43-WINDOWS81

7) Edit the ‘Settings…’ of the VM.

2015-06-03 11_01_19-WINDOWS81

8) Select the corresponding Hard Drive. Click ‘Edit’

2015-06-03 11_01_35-WINDOWS81

9) Click ‘Shrink’

2015-06-03 11_01_53-WINDOWS81

10) Select the New VM Disk Size. (NOTE: This is the total disk size. Not the amount you would like to reduce with)

2015-06-03 11_02_09-WINDOWS81

11) Click Finnish.

2015-06-03 11_02_26-WINDOWS81

The VM virtual disk and the Guest OS volume are now reduced in size.