How to speed up the resilvering speed


There are two kernel parameters that can be adjusted if ZFS resilvering speed is too slow/fast - 'zfs_resilver_delay' and 'zfs_resilver_min_time_ms'


To up the silvering speed:

You can speed up the resilver by doing the following as root:

echo 0 > /sys/module/zfs/parameters/zfs_resilver_delay
echo 5000 > /sys/module/zfs/parameters/zfs_resilver_min_time_ms

This may affect production performance so if you start to see a performance decrease you can replace the '0' with a '1' :

echo 1 > /sys/module/zfs/parameters/zfs_resilver_delay

When the resilver is done you can reset it back to the defaults by doing the following:

echo 2 > /sys/module/zfs/parameters/zfs_resilver_delay
echo 3000 > /sys/module/zfs/parameters/zfs_resilver_min_time_ms



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk