Re: Checking consistency of Linux software RAID
From: Lars Marowsky-Bree <hidden>
Date: 2003-06-30 13:16:33
On 2003-06-30T14:58:19, Martin Bene [off-list ref] said:
Scheduling a (weekly) complete media scan where all surfaces of all drives get read; in case of read errors a repair is tried: the content for the failed sector is reconstructed just as if the drive had completely failed and rewritten to the failed sector; if reading works afterwards, regard the repair as successfull and continue using the drive.
This can't currently be done.
I'd suggest to start from the resync code and instead use it to check
instead; add an ioctl to trigger the consistency scan, then you can
schedule it via cron all you like.
Sincerely,
Lars Marowsky-Brée [off-list ref]
--
SuSE Labs - Research & Development, SuSE Linux AG
"If anything can go wrong, it will." "Chance favors the prepared (mind)."
-- Capt. Edward A. Murphy -- Louis Pasteur
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html