From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id BA9CD2F326 for ; Thu, 15 Mar 2001 19:54:14 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f2G0tTI06996 for axp-list@listman.redhat.com; Thu, 15 Mar 2001 19:55:29 -0500 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f2G0tTV06992 for ; Thu, 15 Mar 2001 19:55:29 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id RAA31892 for axp-list@redhat.com; Thu, 15 Mar 2001 17:54:05 -0700 Date: Thu, 15 Mar 2001 17:54:05 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: SCSI HD trubble Message-ID: <20010315175405.A31873@ellpspace.math.ualberta.ca> References: <60C3F0B752909B428D39EA63B4352E9904225C@velma.ultrabac.com> <20010315165105.A31795@ellpspace.math.ualberta.ca> <3AB158EA.441BA378@tn.utwente.nl> <20010315172104.A31840@ellpspace.math.ualberta.ca> <3AB16192.10442148@tn.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB16192.10442148@tn.utwente.nl>; from A.Dergatchev@tn.utwente.nl on Fri, Mar 16, 2001 at 01:42:58AM +0100 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Fri, Mar 16, 2001 at 01:42:58AM +0100, Andrei A. Dergatchev wrote: > > I don't have a clear idea of what is going to happen when > a drive finds a bad block. From one viewpoint, with automatic > block reassignment of the drive turned ON, the filesystem should > expect that the drive will deal with the problem - reassign the bad > block i.e. - and the present logical address should be fine (?). > From another viewpoint, I'm stuck in the situation when > a drive does not do reassignment at all, or at least does not do > reassignment for a few "special" bad blocks, so I'd prefer > the file system to mark them as used and never refer to them. These are two different levels. When a drive/device driver is doing remapping your file system should not see that bad block at all (you may loose it contents if errors happened on read but usually you will have first problems with writes). Utilities like 'e2fsck -c' will just tell a file system that some disk pieces are "used" so they are not available. 'badblocks' will produce a list for a device but it is up to a given file system to do something with it. If you have such block in swap, for example, then it may turn out to be a real PITA and bad reads of a swapped out stuff may provide an interesting way to crash. :-) Michal