From mboxrd@z Thu Jan 1 00:00:00 1970 From: Molle Bestefich Subject: Re: Joys of spare disks! Date: Wed, 2 Mar 2005 04:50:35 +0100 Message-ID: <62b0912f050301195062c3afbe@mail.gmail.com> References: Reply-To: Molle Bestefich Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org List-Id: linux-raid.ids Robin Bowes wrote: > I envisage something like: > > md attempts read > one disk/partition fails with a bad block > md re-calculates correct data from other disks > md writes correct data to "bad" disk > - disk will re-locate the bad block Probably not that simple, since some times multiple blocks will go bad, and you wouldn't want the entire system to come to a screeching halt whenever that happens. A more consistent and risk-free way of doing it would probably be to do the above partial resync in a background thread or so?..