Adjusting RAID Speed in OpenMediaVault

This affects the minimum and maximum speeds allowed for throttling of reshaping and checking activities of mdadm.

To monitor the current speed
sudo cat /proc/mdstat

To temporarily adjust the speed use the commands below. They will reset to defaults on the next reboot. The speed, x, is a number in kbytes/seconds.
echo x > /proc/sys/dev/raid/speed_limit_min
echo x > /proc/sys/dev/raid/speed_limit_max

To make the change permanent and persist after a reboot modify this file:
Add these lines where the speed, x, is a number in kbytes/seconds. = x = x

Note: the default setting for a fresh install of OMV version 6.0 is only a minimum speed with a value of 10000 (contrary to the comment in the config file with a value of 1000).

This entry was posted in Uncategorized. Bookmark the permalink.