0.实验前的环境检查与配置
[student@workstation ~]$ lab bitrot setup
1.gluster volume bitrot replvol enable开启bitrot检测功能。
[root@servera ~]# gluster volume bitrot replvol enable
volume bitrot: success
2.gluster volume bitrot replvol scrub-frequency hourly设置检测的频度。
[root@servera ~]# gluster volume bitrot replvol scrub-frequency hourly
volume bitrot: success
3.gluster volume bitrot replvol scrub-throttle aggressive设置一次尽可能多的扫描文件。
[root@servera ~]# gluster volume bitrot replvol scrub-throttle aggressive
volume bitrot: success
4.gluster volume get replvol all | grep scrub查看配置的功能的参数。
[root@servera ~]# gluster volume get replvol all | grep scrub
features.scrub-throttle aggressive
features.scrub-freq hourly
features.scrub Acti