RAID 1, how to verify mirror , silent corruption
Dear Gentle Folk,
Running CentOS 5.x with mdadm for raid 1. Is there any way to verify a raid 1 array of two disks to verify that they are exact copies? Need to do this on the fly while the array is running and in service. Being paranoid, in the past bad data has gotten on one disk and not the other due to bad motherboard or whatever. Pointers to RTFM welcome, Thanks in advance to all who read this. Homer W Smith Lightlink Internet |
Yes, you can check and correct the array with:
Code:
echo check > /sys/block/md0/md/sync_action Code:
cat /sys/block/md0/md/sync_action Code:
cat /sys/block/md0/md/mismatch_cnt Code:
echo repair > /sys/block/md0/md/sync_action |
Thanks for the below.
As far as I know CentOS5.x does not have /sys or /proc/sys or any /proc/*/block/* Any other suggestions? Thanks in advance. Homer Quote:
|
Quote:
|
All times are GMT -5. The time now is 08:08 PM. |