I think a better approach might be:
mdadm /dev/md1 -r /dev/hde3 dd if=/dev/hde3 of=/dev/null check logs for nasty errors and only continue if there weren't any :) mdadm /dev/md1 -a /dev/hde3
Normally, for this I:
dd if=/dev/zero of=/dev/hde3 dd if=/dev/hde3 of=/dev/null
The write will usually cause the hard drive to internally relocate any bad sectors, which is usually what causes RAID failures on IDE drives (in my experience).
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html