public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Dying disk and filesystem choice.
@ 2001-05-24  3:25 monkeyiq
  2001-05-24  6:03 ` Hans Reiser
  2001-05-24  6:58 ` Andreas Dilger
  0 siblings, 2 replies; 24+ messages in thread
From: monkeyiq @ 2001-05-24  3:25 UTC (permalink / raw)
  To: linux-kernel, monkeyiq


Hi,
  Could I please be CC'd replies.

  To keep it short and sweet, I have a 45Gb IBM drive that
is slowly dying by getting more bad sectors. I have already
returned my first one to get the current disk, so would like
to use the current one for a while before returning it for 
another disk that will prolly just start dying again.

I am using reiserfs at the moment, which doesn't really like 
to work on a dying drive. for example, doing a make fails to
work even though it is *creating* files on the disk, it fails
to do so because it hits new bad sectors and doesn't seem to
remap them. 

I am wondering what advise on filesystem choice the list as
and any other options I can use to get the kernel to remap
bad blocks.

Thanks.

-- 
---------------------------------------------------
It's the question, http://witme.sourceforge.net
If you think education is expensive, try ignorance.
		-- Derek Bok, president of Harvard


^ permalink raw reply	[flat|nested] 24+ messages in thread
* RE: Dying disk and filesystem choice.
@ 2001-05-24 17:30 Cress, Andrew R
  0 siblings, 0 replies; 24+ messages in thread
From: Cress, Andrew R @ 2001-05-24 17:30 UTC (permalink / raw)
  To: 'Jonathan Lundell', Jens Axboe, Andi Kleen
  Cc: Andreas Dilger, monkeyiq, linux-kernel

>At 12:19 PM +0200 2001-05-24, Jens Axboe wrote:
>>In fact you will typically only see an I/O error if the drive _can't_
>>remap the sector anymore, because it has run out. No point in reporting
>>a condition that was recovered.
>>
>>I'd still say, that if you get bad block errors reported from your disk
>>it's long overdue for replacement.

On Thursday, May 24, 2001 11:46 AM, Jonathan Lundell wrote:
>This can't be right. It implies that the drive is returning bogus 
>data with no error indication. Remapping a bad sector is not the same 
>as recovering it.

The automatic reallocation of bad spots on a drive is safe unless paired
with the write cache enabled bit in the disk mode pages (configuration).
WCE, in some cases, can cause the write/read to both take place from cache
with good status, and if the bad spot is reallocated later, when the cache
is flushed, the reporting gets very confusing.

In general:
It is a common misconception that if a disk begins to show some bad spots,
that it should be replaced.  In fact, a disk can have a reliable, useful
life for years after bad spots begin to show up.  The number of bad spots in
the Grown Defect List over a specified time as a % of capacity can be an
predictor of impending failure, however.

Andy Cress



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2001-05-25 17:51 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-24  3:25 Dying disk and filesystem choice monkeyiq
2001-05-24  6:03 ` Hans Reiser
2001-05-24  6:58 ` Andreas Dilger
2001-05-24  8:31   ` Andi Kleen
2001-05-24 10:19     ` Jens Axboe
2001-05-24 12:08       ` monkeyiq
2001-05-24 15:46       ` Jonathan Lundell
2001-05-24 15:50     ` Jonathan Lundell
2001-05-24 15:56       ` Andi Kleen
2001-05-24 16:13         ` Jonathan Lundell
2001-05-24 16:53     ` Hans Reiser
2001-05-24 17:16       ` David Rees
2001-05-24 19:03       ` J Sloan
2001-05-24 20:54         ` Hans Reiser
2001-05-24 19:46       ` Erik Mouw
2001-05-24 21:24         ` Hans Reiser
2001-05-24 22:16         ` Alan Cox
2001-05-25 13:21           ` Chris Mason
2001-05-25 16:21             ` Hans Reiser
2001-05-25 16:58               ` Chris Mason
2001-05-25 17:42                 ` Hans Reiser
2001-05-25 11:29         ` Juan Quintela
2001-05-24 21:35       ` monkeyiq
  -- strict thread matches above, loose matches on Subject: below --
2001-05-24 17:30 Cress, Andrew R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox