LAST UPDATED: August 8 2013

This was an easy and fun task to complete and it was only slightly more complex than enabling Shadow Copy… so you can do this!

Things you need to know first about Data Deduplication in Server 2012:

  1. If you have other dedup software, hardware or deduplication in your backup you will want to turn those off (or not use Windows Server dedup).  Like antivirus, no good comes from running more than one of them at the same time.
  2. Deduplication should only be run on file servers.  Specifically, it should not be run on Exchange, SQL, or other servers with a lot of complex file locking or databases.
  3. Deduplication is built into Windows Server 2012 NTFS and NOT the new ReFS.  Resiliant File System will have dedup in the future, but does not have it in the year 2013.
  4. Deduplication occurs at the volume level
  5. Deduplication is not possible on your boot disk, so you need at least two volumes (one for Server 2012 and one for file shares, which can be dedup’d)
  6. Deduplication functions without problem on HyperV VM’s running Server 2012
  7. Deduplication is availabe in both Data Center and Standard versions of Server 2012
  8. Deduplicaiton is moderately CPU intensive so you want to schedule it to run off hours and not when your backups are running

Now on to the fun stuff.  In my case, I built my first dedup’er in a Server 2012 HyperV VM on and Server 2012 Host.

How to Install Data Deduplication in Server 2012:how-to-install-data-deduplication-in-server-2012

  1. Get your self two volumes.  In my case this meant I needed to use DISK MANAGEMENT to reduce the size of my single partition.  This provided enough empty space for me to create a second partition and format with NTFS… which I will set to dedup!
  2. Copy a pile-o-data onto this new partition
  3. Open SERVER MANAGER and click the MANAGE button at the top right of the window
  4. Select ADD ROLES AND FEATURES
  5. Select ROLE-BASED OR FEATURE-BASES INSTALLATION
  6. Select your server (duh!)
  7. Expand FILE AND STORAGE SERVICES > FILE AND SCSI SERVICES
  8. Select DATA DEDUPLICATION
  9. Finish the wizard as is obvious

How to Enable and Configure Data Deduplication in Server 2012:how-to-configure-and-test-data-deduplication-in-server-2012

  1. Open SERVER MANAGER  and select FILE AND STORAGE SERVICES
  2. Click VOLUMES
  3. Right click on the volume in question and select CONFIGURE DATA DEDUPLICATION
  4. For testing purposes set the DEDUPLICATE FILES OLDER THAN: to zero days.  If you don’t do this you will have to wait the number of days specified for the the deduplication to run.  In production this is a great idea but for testing… I wanna see it NOW!!!
  5. Click SET DEDUPLICATION SCHEDULE
  6. Click on ENABLE THROUGHPUT OPTIMIZATION and set a start time of about now

How to Run A Test of Data Deplication In Windows Server 2012:how-to-view-data-deduplication-in-server-2012

If you can’t wait for the time you set, just dig into the TASK SCHEDULER and start it.  The task will be under:

  1. TASK SCHEDULER LIBRARY
  2. MICROSOFT
  3. WINDOWS
  4. DEPLICATION

In my case I saw 4GB of Office type documents (PowerPoint, Word…) change to 16MB which is a 256 times reduction… this is obviously not correct.  What is happening is the duplicated bits are being relocated to the SYSTEM VOLUME INFORMATION folder so Windows Explorer does not see (or count) them.

The DEDUPLICATION RATE shows in VOLUMES, displayed only 48% which is the accurate number including the bits from the SYSTEM VOLUME INFORMATION folder.

Advanced Topics:

If you are going to run data dedupulication (which you should), you really need to at least skim these two articles

Why Does Data Deduplication Have SIZE ON DISK and DEDUPLICATION Numbers NOT Match

How to Robocopy On Server 2012 With Data Deduplication

 

References:

If you want more information, I found the following quite useful:

http://myitblog.adamjrafels.com/?p=458

Introduction to Data Deduplication in Windows Server 2012

http://blogs.technet.com/b/askpfeplat/archive/2013/01/02/windows-server-2012-does-refs-replace-ntfs-when-should-i-use-it.aspx

 


1 Comment

Mark Jennings · April 30, 2017 at 4:06 am

Hello, I have found a GUI program to manage Data Deduplication for Windows.

Weblink is: http://www.orontesprojects.com/?page_id=371
Direct download is: http://www.orontesprojects.com/dedup/datadedup.zip

They deliver a free license to register the program…

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *