Windows 2012 Management Deduplication Disk Considerations 2

Source: Internet
Author: User

Yesterday the beans found the company's file server (Windows 2012) on the disk space is almost full, 1.9T of space only 10G surplus, so the removal of 40G files, accidentally found that the remaining space has not changed!! What this is about, after research, finds that this is caused by the functionality of the deduplication on the disk that was opened.


The Data deduplication is a new feature on Windows 2012 that optimizes storage space, but you need to be careful when using it, and beans have met 2 of them because of the small problem that this feature is causing.


As shown below, the Datadisk1 of the beans activates the deduplication function, the hard disk itself 1.9T, but the actual storage of nearly 3.5T of content, saving more than 45% of space.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/47/CD/wKiom1P_uJDQi2obAABUL8Cq_jY676.png "title=" Disk2. PNG "alt=" Wkiom1p_ujdqi2obaabul8cq_jy676.png "/>


It is important to note that after this feature is activated, the way you store files is not the same as before Windows 2008. Each file divides its content into 2 parts, unique to itself, and the same parts as other files. Each file only retains its own unique parts, such as name, attributes, creation time, etc., which we generally call metadata, and occupy more than 90% of the "real content", is stored in the chunk store, that is, each disk corresponding to the hidden folder System Volume Information Store inside (if you open VSS, the snapshot is also saved in this area)


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/47/CD/wKiom1P_uOWht1xTAAGK5TEdVEg326.png "title=" DISK4. PNG "alt=" Wkiom1p_uowht1xtaagk5tedveg326.png "/>


For example, if you look at the properties of one of these files, you can see the size of the file, which is the logical size of 21.6G, but the size on disk is only 258K, which is actually just the content of his metadata. If I delete this folder, then he will only empty 258K files!! We also need to perform a Garbae collection (garbage collection) operation to remove the contents of the file association from the chunk store. This is why I initially deleted the 40G file, but my remaining space did not increase because I did not delete the corresponding chunk Data.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/47/CF/wKioL1P_ucrw5Py8AAA_LrIihEw236.png "title=" DISK3. PNG "alt=" Wkiol1p_ucrw5py8aaa_lriihew236.png "/>


Knowing how it works, then let's take a look at how to delete it?


First look at the current state, this can be viewed through the GUI, but also through the command line, but the command line can get more information, such as to see the last optimization, garbage collection, and self-repair when the execution? How many files are in total for this disk, and how many have been optimized? None of these specific data GUIs are visible, so the relevant commands for PowerShell are really important.


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/47/CF/wKioL1P_vdHTsxbOAAA8YzkqXmA300.png "title=" A.png " alt= "Wkiol1p_vdhtsxboaaa8yzkqxma300.png"/>


You can also look at the default schedule task when you can compare it to a result

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/47/CD/wKiom1P_vWvALSC-AAAOY402Kl8084.png "title=" B.png " alt= "Wkiom1p_vwvalsc-aaaoy402kl8084.png"/>


This scheduled task can also be viewed through the GUI

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/47/CF/wKioL1P_vr-xAunpAABkHpgDuCs822.png "title=" C.png " alt= "Wkiol1p_vr-xaunpaabkhpgducs822.png"/>


When I delete a file, in order to free up space, I can change the time of the Garbecollection schedule task for him to execute, or you can enter the following command to force immediate execution


Start-dedupjob–volume E:–type Garbagecollection–full


The beans are set to run automatically, and the 1.9T disk runs for about 40 minutes, successfully freeing up the remaining space.


In addition to another encounter scene, about a few months ago, beans in the use of Veeam to restore file server content, but also because Deduplication encountered a problem, will prompt me access to a problem. The workaround is also to install the Deduplication service on the Veeam server, and you need to ensure that veeam windows is equivalent or higher than the file server version number to properly identify this new storage mode.


In short, the Data deduplication is a good feature, he in the Windows traditional file compression function more step, and similar to VSS, is directly executed on the volume disk, activated the Dedup disk can not be mixed with the file compression function. But use must be careful, not casually put the previous experience hard to come in.


This article is from the "Mapo Tofu" blog, please be sure to keep this source http://beanxyz.blog.51cto.com/5570417/1546359

Windows 2012 Management Deduplication Disk Considerations 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.