<b>实验目标:</b>
2 实现重复数据删除
<b>实验环境:一台安装了WS2012</b><b>操作系统的物理计算机,一台WS2012</b><b>虚拟机(DC1</b><b>)。</b>
任务1:安装‘数据删除重复’角色、
2. 在任务栏,单击‘服务器管理器’图标 。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438412lF6d.png"></a>
3. 在‘服务器管理器’窗口,单击‘管理’,在下拉菜单中单击‘添加角色和功能’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_136643841259vv.png"></a>
4. 在‘选择安装类型’页面,选择‘基于角色或功能的安装’,然后单击‘下一步’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438412OLIZ.png"></a>
5. 在‘选择目标服务器’页面,从服务器池中选择服务器(DC1),然后单击‘下一步’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438412DP0q.png"></a>
6. 在‘选择服务器角色’页面,勾选‘文件和iSCSI服务’-‘数据删除重复’,单击‘下一步’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_13664384133UKo.png"></a>
7. 在‘选择功能’页面,单击‘下一步’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438413eB6w.png"></a>
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438413TaLb.png"></a>
è 关闭。
注:安装过程中,从C盘搜索大文件(如,C:\Windows\System32\imageres.dll),将其复制到D盘并复制多份。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438413UqLj.png"></a>
任务2:启用‘数据删除重复’功能
1. 在‘服务器管理器’窗口,单击‘文件和存储服务’-‘卷’,之后在右侧区域右击‘D:’在下拉菜单中单击‘配置数据删除重复’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438414Krur.png"></a>
2. 在‘删除重复设置窗口中,勾选‘启用数据删除重复’选项(为查看实验效果修改‘时间:0’),单击‘确定’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438414slgd.png"></a>
注:Enable-DedupVolume -Volume D: <b>(Enter</b><b>键)</b> Set-DedupVolume -Volume D: -MinimumFileAgeDays 0
3. 执行PowerShell命令‘Start-DedupJob -Type Optimization -Volume D:’,立即执行‘数据删除重复’。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438414wGFi.png"></a>
从‘任务管理器’中,能够查看到相应的进程对CPU资源的占用。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438414Mrii.png"></a>
4. 再次查看D分区文件大小,发现‘占用空间’已经缩小。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438415tK2q.png"></a>
5. 在‘服务器管理器’窗口,查看‘重复数据删除率’等参数。
<a href="http://gaowenlong.blog.51cto.com/attachment/201304/20/451336_1366438415C54p.png"></a>
本文转自 高文龙 51CTO博客,原文链接:http://blog.51cto.com/gaowenlong/1181983,如需转载请自行联系原作者