linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Blockbusting news, this is important (Re: Why are bad disk se ctors numbered strangely, and what happens to them?)
@ 2003-10-18 17:18 Mudama, Eric
  2003-10-18 18:06 ` Matthias Urlichs
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Mudama, Eric @ 2003-10-18 17:18 UTC (permalink / raw)
  To: 'Nuno Silva', linux-kernel



> -----Original Message-----
> From: Nuno Silva [mailto:nuno.silva@vgertech.com]
>
> > 
> > Doing cat /dev/zero > /dev/hd* fixes all bad sectors on 
> modern drive.
> 
> Yeah! I'm doing this right now because the data in hda is 
> very important 
> and and don't do backups since August!! :-D

If current trends hold, in the next few years, hard drives are going to have
to pick up and rewrite their data continuously to avoid signal decay on the
media... a drive gets closer and closer to a DRAM cell than a stone tablet.
(And yes, I've heard all the jokes about bricks/stones/etc)

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: Blockbusting news, this is important (Re: Why are bad disk se ctors numbered strangely, and what happens to them?)
@ 2003-10-20 16:14 Mudama, Eric
  0 siblings, 0 replies; 15+ messages in thread
From: Mudama, Eric @ 2003-10-20 16:14 UTC (permalink / raw)
  To: 'root@chaos.analogic.com', Rik van Riel
  Cc: 'Nuno Silva', linux-kernel



> -----Original Message-----
>
> Battery-backed SRAM "drives" in the gigabyte sizes already exist.
> Terabytes should not be too far off.
> 
> Soon those "drives" will be as cheap as their mechanical emulations
> and you won't need those metal boxes with the rotating mass anymore.
> The batteries last about 10 years. Better than most mechanical
> drives.

I'm looking forward to a solid state primary hard drive.

However, they've been saying that solid state will replace mechanical for
close to 10 years now... yet our mechanical drives have doubled in size
twice in under 3 years...

I'm sure it'll happen someday, but it may be 5-10 years before it actually
happens.

--eric

^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: Blockbusting news, this is important (Re: Why are bad disk se ctors numbered strangely, and what happens to them?)
@ 2003-10-18 16:54 Mudama, Eric
  2003-10-18 18:19 ` Maciej Zenczykowski
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Mudama, Eric @ 2003-10-18 16:54 UTC (permalink / raw)
  To: 'John Bradford', Krzysztof Halasa
  Cc: Rogier Wolff, Norman Diamond, Hans Reiser, Wes Janzen,
	linux-kernel



> -----Original Message-----
> From: John Bradford [mailto:john@grabjohn.com]
>
> Drive manufacturers could sell advanced firmware to data recovery
> companies for a price that would pay for itself after 3-4 data
> recovery jobs.  Given that you could then do far more advanced
> recovery then people could themselves, I am suprised this hasn't
> happened before.  Of course, free and open firmware would be nice in
> general, but that hasn't arrived yet.

To pay for itself it would have to cost multiple millions of dollars.  The
#1 constraint in an IDE drive is cost per gigabyte, since 99.9% of
purchasers don't look at anything else.  This means that we strip down
things like our electronics and internal mask ROMs to their minimum required
size.  Specialized code with extra features would inherently be larger,
which gives two choices:

1. burdon 60 million drives per year with the capability to run this
software
2. 1-off or 2-off or whatever for the few times a year that you get asked
for this

#1 is prohibitive from a cost perspective since the demand simply isn't that
high.  #2 is prohibitive because of the engineering and manufacturing
resources required to build a special product.

Plus, all data recovery would be on drives already sold...  Since every
drive optimizes itself as part of the manufacturing process to the exact
capabilities of the channel ASIC, heads they were manufactured with, etc,
the only way for these new recovery tools to work reliably would be to use
option #1 above, which I've already said isn't worth the cost.  I hear about
people swapping PCBs on disk drives to recover data when one fries... yes
this can work to some degree, but I absolutely wouldn't trust anything
written in a swapped-board setup.

The community of knowledgable users who could use such features and would be
willing to pay, say, $20 extra for the cost, is nothing next to the number
of users who go to Dell's website and say "this drive is 20GB more for $10
less, lets get this one!"

> 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.  What happens on read is less important if your data
> isn't intact.  I can see your point of view for not re-mapping on read
> given that advanced firmwares are not available, and the fact that it
> allows you to do some form of data recovery.  Overall, though, if it
> gets to the point where you have to start doing such data recovery,
> downtime is usually significant, and for some applications, having the
> data in a week's time may be little more than useless.  Predicting
> possible disk fauliures is a good idea.

Writes are destructive, and very often "fix" the problem on the media.  If
the write succeeds, and can be read by the disk, there's no point in
remapping.  It is only when you're unable to write to a specific area that
remap-on-write makes any sense.

We keep track of where we have trouble reading or writing, and use that to
reassign based on various criteria automatically.

Best data to use, I'd guess, for "predicting" failures, is the blown rev
counter in smart.  If you're blowing revs, you're having trouble getting the
data you want off or onto the drive.

--eric

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

end of thread, other threads:[~2003-10-21 19:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-18 17:18 Blockbusting news, this is important (Re: Why are bad disk se ctors numbered strangely, and what happens to them?) Mudama, Eric
2003-10-18 18:06 ` Matthias Urlichs
2003-10-20 15:54 ` Rik van Riel
2003-10-20 16:09   ` Richard B. Johnson
2003-10-20 16:24     ` Chris Friesen
2003-10-21 19:13       ` H. Peter Anvin
2003-10-20 17:49     ` John Bradford
2003-10-20 17:48       ` David Lang
2003-10-20 18:29         ` John Bradford
2003-10-21 19:10 ` H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2003-10-20 16:14 Mudama, Eric
2003-10-18 16:54 Mudama, Eric
2003-10-18 18:19 ` Maciej Zenczykowski
2003-10-18 20:08 ` John Bradford
2003-10-19 22:53 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).