Speed up resilver

A:

do we have any standard higher than higher-than-normal priority numbers to use for resilvering?

in other words:
# echo zfs_resilver_delay/W1 |mdb -kw
# echo zfs_resilver_min_time_ms/W0t4000|mdb -kw
what is safe beyond this?


B:

Could set to 0 & 5000....

# echo zfs_resilver_delay/W0 |mdb -kw
# echo zfs_resilver_min_time_ms/W0t5000|mdb -kw

Will increase resilver performance dramatically, however this will also effect the overall performance by consuming more CPU/memory & increasing IO to disks. This should only be done "out of business hours" to minimize impact.


------------------------------------------------------------------------------------

The tuneables are as as follows

zfs_resilver_min_time_ms
zfs_resilver_delay

From NMC you can view the current settings using

show appliance nms property sys_zfs_resilver_min_time #default is 3000
show appliance nms property sys_zfs_resilver_delay #default is 2

These can be amended to 5000 for sys_zfs_resilver_min_time, and either 1 or 0 for sys_zfs_resilver_delay. It may be best to set to 1 initially, and if there is no effect on I/O then it can be set to 0 (ie no delay).

setup appliance nms property sys_zfs_resilver_min_time
setup appliance nms property sys_zfs_resilver_delay

Once the resilver is finished i would recommend setting these back to the default again. Once the resilver has finished, please provide an updated zpool status output

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值