文章转自Live空间(http://delxu.spaces.live.com/blog/cns!D04F87F9ED029F69!2583.entry)和51cto技术博客(http://delxu.blog.51cto.com)首发。转发时务必表明出处,顺便给博主做个广告,文章写的真的很好,深入浅出,期待看到更好的博文,再次表示对博主的感谢!!!
NetApp FAS Filer的重复数据删除
>license add a-sis
>license add nearstore
在需要删除重复数据的volume上面,开启重复数据删除功能
> sis on /vol/vol1
> sis on /vol/vol1
Creation of metafile failed: /vol/vol1
>sis start –s /vol/vol1
>sis status /vol/vol1
你可以不停地按向上箭头来重复这条命令查看实时状况。
NAS01> sis status /vol/vol1
/vol/vol1 Enabled Active 15 GB Scanned
NAS01> sis status /vol/vol1
Path State Status Progress
/vol/vol1 Enabled Active 29 GB Scanned
NAS01> sis status /vol/vol1
Path State Status Progress
/vol/vol1 Enabled Active 75 MB (0%) Done
NAS01> sis status /vol/vol1
Path State Status Progress
/vol/vol1 Enabled Active 5225 MB (12%) Done
>df -s /vol/vol1
查看现在的运行时间
>sis config /vol/vol1
Path Schedule
/vol/vol1 sun-sat@0
默认是一周7天每天0点执行
以下命令将运行时间更改为周一到周五,每天23:00执行
>sis config -s mon-fri@23 /vol/vol1
【效果篇】
在普通用户存放共享文件的卷中,可以节约20-30%的空间。
在存放Ghost镜像的卷中,节约少于1%,基本没有效果。
(2) DDD不关心不检查刚写入的数据块是否重复。DDD的运作是每天在指定的时间段运行扫描程序,比较重复的数据块,并将块指针合并,然后删除重复的数据块。因此在刚写入的时候,都是找空余空间写入数据,写入后但SIS程序没有运行之前,数据块还是会存在重复现象的。