ClusterStorage-9-基本排错之BitRot检测基本配置

本文档详细介绍了如何在GlusterFS中启用和配置BitRot检测功能,包括设置检测频率为每小时一次,使用aggressive模式进行扫描,并通过`gluster volume get`命令验证配置。最后,通过`lab bitrot grade`进行测评,确保所有配置已正确实施并成功通过检查。

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    

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值