Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows Server 2012 Hyper-V host with VMs on a dedicated RAID-5 volume. One VM is also running Server 2012 and is being used to serve files. The other VMs are smaller and mostly used for temporary testing scenarios.

The main file server VM has two dynamically expanding VHDX files - one for the OS and one for storage. The VHDX being used for storage has quite a few duplicated files on it.

Should I run Server 2012 deduplication on the volume containing the storage VHDX file on the host, or within the file server VM itself? I understand that running it within the VM will not decrease the size of the VHDX file on the host, but my goal is to enable as much storage capacity within the VHDX file itself. I also understand that if I run it on the host, I will have to take the VM offline to do it. Downtime isn't a concern in this instance, just the best way to do this.

share|improve this question
up vote 6 down vote accepted

Deduplicating VHD and VHDX files is not supported. You should not dedupe on the Hyper-V host. Dedupe within the guest.

Edit: Note that this has changed a bit since this answer was originally written. In certain configurations relating to VDI, dedupe of VHD/VHDXs is supported:

share|improve this answer
That being said, it can be done. It's just not supported by Microsoft.… – Brain2000 Oct 26 '15 at 22:36
Sure. You can do whatever you want, but running your production virtualization solution in an unsupported state is about as bad of a decision as you can make. – MDMarra Oct 26 '15 at 22:37
While I agree with your statement as a whole, you always must test what you are going to push into production, even if it IS supported. Plus take what I said in context, "Microsoft support". As most of us painfully know, whatever Microsoft supports is a joke, and I use their writings as more of a loose set of guidelines than steadfast rules. It's similar to the Promise enclosure hard drive compatibility list. That too is a joke. – Brain2000 Oct 28 '15 at 17:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.