Software RAID, fsck and badblocks
I have a RAID-1 (mdadm) setup like this on Fedora Core 3:
hda1+hdc1=md0 -> /boot (100M-ext3)
hda2+hdc2=md1 -> swap (2G)
hda3+hdc3=md2 -> / (70G-ext3)
I read that I should not run fsck.ext3 on the hd devices. I should run fsck only on the md device.
How about badblocks? Should I run it on the md or hd devices? I guess that the default read-only test wouldn't harm, but how about the read-write test (-n option).
How should I test my RAID disks?