Enable Deduplication on NTFS Volumes

Maybe you’ve already hear that Server 2012 has deduplication for NTFS integrated by just installing the file server role and selecting deduplication. It’s not activated by just installing it, but not really hard to activate too.

Preparation

Before starting, the following conditions must be met

  • It must be a NTFS volume; ReFS is not supported
  • There’s some free space, I would recomment to have at least 10%
  • only fixed disks are supported, no USB and other removable ones
  • system and boot volumes are not supported

Q: How do I know my volume’s a good candidate for dedup?

A: There’s a evaluation tool on board of Server 2012, you can get usage help by just typing¬† ddpeval on a command line. In my case, I’ve evaluated just a subfolder that uses 1TB diskspace:

12-14-2012 8-53-58 AM

More about preparing for Dedup and ddpeval @ http://technet.microsoft.com/en-us/library/hh831700.aspx

Enable Deduplication for a Volume

Assuming you have a disk D: that has a lot of data on it that maybe’s good candidate for dedup. To start deduplicating data just open a PowerShell Console as elevated Administrator and hit this commands.

Enable-DedupVolume D:
Set-DedupVolume D: -MinimumFileAgeDays 1
.

The first command activates deduplication on Volume D:, the second tells dedup to start after a file’s accessed day in past. Default would be 5 days, but I prefer to directly dedup files after one day.

Deduplication data is stored in the “System Volume Information” Folder at the root of the volume in subfolder “dedup”. A lot of files there are named *chunk* and represent chunks of original files.

More about the PowerShell cmdlets @ http://technet.microsoft.com/en-us/library/hh848450.aspx

Open Questions

  • what does happen if I move a deduplicated NTFS Volume to an older Server, i.e. 2008 r2 or whatever?
  • is there a way to get Deduplication for Server 2008 r2 too?

.

Source: http://technet.microsoft.com/en-us/library/hh831434.aspx

Advertisements

3 thoughts on “Enable Deduplication on NTFS Volumes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s