Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161247AbWASPyF (ORCPT ); Thu, 19 Jan 2006 10:54:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161248AbWASPyF (ORCPT ); Thu, 19 Jan 2006 10:54:05 -0500 Received: from rtr.ca ([64.26.128.89]:20894 "EHLO mail.rtr.ca") by vger.kernel.org with ESMTP id S1161247AbWASPyE (ORCPT ); Thu, 19 Jan 2006 10:54:04 -0500 Message-ID: <43CFB60B.2090703@rtr.ca> Date: Thu, 19 Jan 2006 10:53:47 -0500 From: Mark Lord User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051013 Debian/1.7.12-1ubuntu1 X-Accept-Language: en, en-us MIME-Version: 1.0 To: Neil Brown Cc: Helge Hafting , Cynbe ru Taren , linux-kernel@vger.kernel.org Subject: Re: FYI: RAID5 unusably unstable through 2.6.14 References: <43CE1E52.3030907@aitel.hist.no> <43CE6997.6090005@rtr.ca> <17358.53535.449726.814333@cse.unsw.edu.au> In-Reply-To: <17358.53535.449726.814333@cse.unsw.edu.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1071 Lines: 27 Neil Brown wrote: > > Very recent 2.6 kernels do exactly this. They don't drop a drive on a > read error, only on a write error. On a read error they generate the > data from elsewhere and schedule a write, then a re-read. Well done, then. Further to this: Pardon me for not looking at the specifics of the code here, but experience shows that rewriting just the single sector is often not enough to repair an error. The drive often just continues to fail when only the bad sector is rewritten by itself. Dumb drives, or what, I don't know, but they seem to respond better when the entire physical track is rewritten. Since we rarely know what a physical track is these days, this often boils down to simply rewriting a 64KB chunk centered on the failed sector. So far, this strategy has always worked for me. Cheers - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/