Configure speed of checkarray in mdadm?
Hi,
I'm a happy user of mdadm 2.6.7.1 (2.6.7.1-1ubuntu8) and would like to make a request.
When my monthly RAID check is triggered (I have two SATA disks in a RAID1 setup) it consumes a significant amount of resources, essentially freezing the system for the most part.
While I might cancel or reschedule these checks as needed, I would prefer if the bandwidth usage could be configured manually, or even adjusted dynamically. Alternatively, is there already a way to minimize the impact beforehand?
Thanks a lot for your help.
Kind regards,
David Vuorio
David Vuorio skrev:
Quoted 9 lines
Hi,
I'm a happy user of mdadm 2.6.7.1 (2.6.7.1-1ubuntu8) and would like to make a request.
When my monthly RAID check is triggered (I have two SATA disks in a RAID1 setup) it consumes a significant amount of resources, essentially freezing the system for the most part.
Quoted 7 lines
While I might cancel or reschedule these checks as needed, I would prefer if the bandwidth usage could be configured manually, or even adjusted dynamically. Alternatively, is there already a way to minimize the impact beforehand?
Thanks a lot for your help.
Change value of /sys/block/mdX/md/sync_speed_max ?
--
Thomas
Quoted 3 lines · David Vuorio
When my monthly RAID check is triggered (I have two SATA disks in a RAID1 setup) it consumes a significant amount of resources, essentially freezing the system for the most part.
Hmm,
I had missed some vital parts of the md man page for some reason, and apparently wasn't persistent enough in Googling either...
Well, /proc/sys/dev/raid/speed_limit_{min,max} should be enough for my purposes. Problem solved, I guess.
Kind regards,
/David