Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2007 00:20:02 -0700 (PDT)
From:      Tom Samplonius <tom@samplonius.org>
To:        Artem Kuchin <matrix@itlegion.ru>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: A little story of failed raid5 (3ware 8000 series)
Message-ID:  <9812134.411188026402612.JavaMail.root@ly.sdf.com>
In-Reply-To: <2846335.391188026199158.JavaMail.root@ly.sdf.com>

next in thread | previous in thread | raw e-mail | index | archive | help

----- "Artem Kuchin" <matrix@itlegion.ru> wrote:
...
> But i don't understand how and why it happened. ONly 6 hours ago (a
> night before)
> all those files were backed up fine w/o any read error. And now, right
> after replacing
> the driver and starting rebuild it said that there are bad sectors all
> over those file.
> How come?

  What happened to you was an extremely common occurrence.  You had a disk develop a media failure sometime ago, but the controller never detected it, because that particular bad area was not read.  Your backups worked because they never touched this portion of the disk (ex. empty space, meta data, etc).  And then another drive developed a electronics failure, which is instantly detected, putting the array into a degraded mode.  When you did a rebuild onto a replace drive, the controller discovered that there was a second failed disk, and this is unrecoverable.

  RAID, of any level, isn't magic.  It is important to understand how it works, an realize that drives can passive fail.  BTW, if you were using RAID1 or RAID10, you would likely have had the same problem (well, RAID10 can survive _some_ double-disk failures).  RAID6 is the only RAID level that can survive failure of any two disks.

  The real solution is RAID scrubbing:  a low level background process that reads every sector of every disk.  All of the real RAID systems do this (usually scheduled weekly, or every other week).  Most 3ware RAID card don't have this feature.

  So rather than not using RAID5 or RAID6 again, you should just not use 3ware anymore.


Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9812134.411188026402612.JavaMail.root>