67385865bb
- Remove the no longer necessary udev patch - Remove the no longer necessary warn patch - Remove the no longer necessary alias patch - Update the mdadm.rules file to only pay attention to device adds, not changes and to enable incremental assembly - Add a cron job to run a weekly repair of the array to correct bad sectors - Resolves: bz474436, bz490972
7 lines
136 B
Bash
7 lines
136 B
Bash
#!/bin/bash
|
|
|
|
for dev in `grep "^md.*: active" /proc/mdstat | cut -f 1 -d ' '`; do
|
|
echo "repair" > /sys/block/$dev/md/sync_action
|
|
done
|
|
|