Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #371834

Re: OT: Dealing with random laptop lockups

From David Brown <david.brown@hesbynett.no>
Newsgroups sci.electronics.design
Subject Re: OT: Dealing with random laptop lockups
Date 2015-08-06 08:39 +0200
Organization A noiseless patient Spider
Message-ID <mpuvcv$kts$1@dont-email.me> (permalink)
References (9 earlier) <mppnpi$cf4$1@gonzo.alcatraz> <mpppst$2qa$1@speranza.aioe.org> <mpt2r2$ota$1@gonzo.alcatraz> <vd54sadtg0h3g65drp8i2qrtl2a3qaarm4@4ax.com> <q6k4sahkm6isicrqdv95nltv06ohhopm46@4ax.com>

Show all headers | View raw


On 05/08/15 20:16, Jeff Liebermann wrote:
> On Wed, 05 Aug 2015 09:56:08 -0400, DecadentLinuxUserNumeroUno
> <DLU1@DecadentLinuxUser.org> wrote:
> 
>> On 5 Aug 2015 13:24:50 GMT, Jasen Betts <jasen@xnet.co.nz> Gave us:
>>
>>>>>>> My opinion now is that one unrecoverable read error is too many.
>>>
>>> google said something similar.  "39 times more likely to fail"
>>> but they mean "more likely to be replaced" which is not the same thing
>>> at all.
> 
>>  Redundancy in your backups via volume mirroring, even on the same
>> physical drive reduces this possibility to near nil.
> 
> Really?  The way I see it, if you take two identical drives, mirroring
> the data with RAID 1 will cut the chances of undetected data failure
> in half.   

You are mixing up to /completely/ different terms here.  An
"unrecoverable read error" means that the drive is unable to return the
requested data, and says so to the drive electronics.  Such URE's are
common as drives get older, especially on bigger drives.  They are not a
problem in a good raid system - the drive reports to the failure to the
raid controller (OS or hardware raid card), which reads the mirrored
version or stripe with parity from the other disks, re-creates the
missing data, and re-writes it to the original disk.  The original disk
writes the data again, possibly re-mapping the bad block if needed.

The chances of an URE occurring at the same point on two disks (even of
the same type and age) are negligible.  The risk comes when you have a
single-redundancy system (RAID1 pair, RAID5) and a complete disk
failure, or you are replacing a disk (without having an advanced system
like Linux raid's hot replace).  In such situations, you have no
redundancy and an unrecoverable read error means missing data.

An /undetected/ read error is completely different.  This means the
drive has read incorrect data, but thinks the data is correct.  This is
incredibly rare in normal use.  An unrecoverable read error occurs when
there are more bit errors in the magnetic surface than the Reed-Solomon
codes can correct.  But to get an undetectable read error, there must be
many more such errors and they must match up in a way that the RS codes
pass as correct data.  In reality, undetected read errors are almost
invariably a sign of electronics failures or firmware bugs.  They /do/
occur, but are fortunately seldom an issue.

You are right that having a mirror halves the chances of the
undetectable read error reaching the host.  And identical drives would
share the same firmware bug (if that's the cause), but it is likely that
such bugs would be triggered by unusual circumstances (such as
particular results from the RS codes), and would not trigger on same
block read.  Hardware failures would not be correlated.


> This is good.  However, with double the number of drives,
> you'll have double the chances of having a single drive failure.  If
> the drives are absolutely identical, chances are good that both drives
> will have nearly identical lifetimes, and possibly near simultaneous
> and identical drive failures.  

That is completely wrong.  Identical drives are likely to have the same
/distribution/ pattern for failures (percentage of early deaths, roughly
similar main use expected lifetimes, and similar half-lives after that).
 But expecting two identical drives to fail at the same time is as
rational as expecting two identical dice to roll the same number.  You
can use the information for statistics in your datacenter with thousands
of drives, but not for any given raid array.

> At best RAID 1 (mirroring) gives you a
> fighting chance to remirror a failed drive if you're lucky, and the
> mirrored drive survives long enough to complete the remirroring.  I
> haven't missed yet, but I've come close.  See my other comments on
> RAID a few messages upthread.
> 
> From my experiences, RAID creates as many problems as it solves.
> 
> 

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-07-31 17:37 -0700
  Re: OT: Dealing with random laptop lockups bitrex <bitrex@de.lete.earthlink.net> - 2015-07-31 21:22 -0400
  Re: OT: Dealing with random laptop lockups DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-01 06:34 -0400
    Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-01 14:44 -0700
  Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-01 15:13 -0700
    Re: OT: Dealing with random laptop lockups DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-01 20:52 -0400
    Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-02 11:55 -0700
      Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-02 13:15 -0700
        Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-02 20:57 -0700
          Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-03 04:19 -0700
          Re: OT: Dealing with random laptop lockups krw <krw@nowhere.com> - 2015-08-03 13:01 -0400
    Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-02 03:28 -0700
      Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-02 09:02 -0700
        Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-02 11:07 -0700
          Re: OT: Dealing with random laptop lockups Jasen Betts <jasen@xnet.co.nz> - 2015-08-03 11:39 +0000
            Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-03 13:17 -0700
              Re: OT: Dealing with random laptop lockups Jasen Betts <jasen@xnet.co.nz> - 2015-08-04 06:57 +0000
                Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-04 00:34 -0700
                Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-04 15:01 -0700
                Re: OT: Dealing with random laptop lockups Jasen Betts <jasen@xnet.co.nz> - 2015-08-05 13:24 +0000
                Re: OT: Dealing with random laptop lockups DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-05 09:56 -0400
                Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-05 11:16 -0700
                Re: OT: Dealing with random laptop lockups DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-05 15:01 -0400
                Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-05 14:41 -0700
                Re: OT: Dealing with random laptop lockups David Brown <david.brown@hesbynett.no> - 2015-08-06 08:22 +0200
                Re: OT: Dealing with random laptop lockups David Brown <david.brown@hesbynett.no> - 2015-08-06 08:39 +0200
                Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-05 08:13 -0700
                Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-05 11:06 -0700
                Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-05 13:18 -0700
                Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-05 15:01 -0700
                Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-05 18:11 -0700
                Re: OT: Dealing with random laptop lockups DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-05 21:25 -0400
                Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-05 19:20 -0700
                Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-05 19:53 -0700
        Re: OT: Dealing with random laptop lockups Wond <gboot.phil@gmx.com> - 2015-08-03 16:16 +0000
          Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-03 10:24 -0700
    Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-01 16:21 -0700
    Re: OT: Dealing with random laptop lockups Don Y <this@is.not.me.com> - 2015-08-01 16:28 -0700
      Re: OT: Dealing with random laptop lockups Jeff Liebermann <jeffl@cruzio.com> - 2015-08-02 00:23 -0700

csiph-web