From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261582AbTJRMDS (ORCPT ); Sat, 18 Oct 2003 08:03:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261585AbTJRMDS (ORCPT ); Sat, 18 Oct 2003 08:03:18 -0400 Received: from hq.pm.waw.pl ([195.116.170.10]:4001 "EHLO hq.pm.waw.pl") by vger.kernel.org with ESMTP id S261582AbTJRMDR (ORCPT ); Sat, 18 Oct 2003 08:03:17 -0400 To: John Bradford Cc: Rogier Wolff , Norman Diamond , Hans Reiser , Wes Janzen , linux-kernel@vger.kernel.org Subject: Re: Blockbusting news, this is important (Re: Why are bad disk sectors numbered strangely, and what happens to them?) References: <32a101c3916c$e282e330$5cee4ca5@DIAMONDLX60> <200310131014.h9DAEwY3000241@81-2-122-30.bradfords.org.uk> <33a201c39174$2b936660$5cee4ca5@DIAMONDLX60> <20031014064925.GA12342@bitwizard.nl> <3F8BA037.9000705@sbcglobal.net> <3F8BBC08.6030901@namesys.com> <11bf01c39492$bc5307c0$3eee4ca5@DIAMONDLX60> <20031017102436.GB10185@bitwizard.nl> <200310171049.h9HAnBbO000594@81-2-122-30.bradfords.org.uk> <200310171935.h9HJZaLm002335@81-2-122-30.bradfords.org.uk> <200310180827.h9I8Rxw8000383@81-2-122-30.bradfords.org.uk> From: Krzysztof Halasa Date: 18 Oct 2003 14:02:27 +0200 In-Reply-To: <200310180827.h9I8Rxw8000383@81-2-122-30.bradfords.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org John Bradford writes: > Although, to be honest, except where performance is critical, remap on > read is pointless. It saves you from having to identify the bad block > again when you write to it. Generally, guaranteed remap on write is > what I want. Then I think we have an agreement. > I did suggest that data which was recovered automatically by the drive > on a second or subsequent read should result in a remapping of that > block. AFAIK this is what the drives do. > My most important point is that writes should never fail on a good > drive. That's certainly what the drives do. Unless they are out of spare sectors, of course. Doing cat /dev/zero > /dev/hd* fixes all bad sectors on modern drive. -- Krzysztof Halasa, B*FH