I decided to switch from SuSE to Ubuntu, and I am configuring my first production MySQL server with 8.04.
I am using software RAID 1.
The machine is not yet deployed, it's sitting in the office.
Suddenly, i hear loud fan noise, even though there are no tasks running, and I check the load average: 2.8! Using "top" I notice that
md2_resync process is the culprit.
Then I look at /proc/mdstat and see:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sda3 sdb3
135347520 blocks [2/2] [UU]
[============>........] check = 62.9% (85253248/135347520) finish=7.9min speed=125122K/sec
So apparently, mdadm daemon decided to check the array.
How can i disable or control the schedule of these "checks" without having to disable mdadm daemon alltogether in /etc/init.d?
It's not acceptable for a production database machine to suddenly start a maintanence process that saturates its I/O bandwidth.