linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recovering from an URE on a RAID5 rebuild/resize
@ 2013-01-25 11:14 Roman Mamedov
  2013-01-25 18:34 ` Stan Hoeppner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Roman Mamedov @ 2013-01-25 11:14 UTC (permalink / raw)
  To: linux-raid

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

Hello,

Recently there has been some talk on this list, about probability of seeing an
URE during a RAID5 rebuild on modern large (e.g. 2TB) drives.

I would like to ask for some advice of what would be the best way to proceed
when such an URE is encountered. This is mostly theoretical, no real situation
at hand at the moment.

As I understand, a RAID5 that is being resized or rebuilt, has no redundancy;
it is essentially as reliable as a RAID0 of total members-1, or even less.

So on an unreadable sector that mdadm needs to read (because it has no
redundancy to recover it from), mdadm will:

  - mark the corresponding array member as "failed";
  - mark the one that was being rebuilt/resized onto as "spare";
  - and the whole array as down and "not enough members to start the array".

Let's assume only a couple of sectors on that member were unreadable, and then
their readability was restored (either by drive replacement or by overwriting
them to making the drive remap), and I would be okay with losing data that was
in those sectors.

What would be the best way to proceed from there?


-- 
With respect,
Roman

~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Stallman had a printer,
with code he could not see.
So he began to tinker,
and set the software free."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2013-01-26 23:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 11:14 Recovering from an URE on a RAID5 rebuild/resize Roman Mamedov
2013-01-25 18:34 ` Stan Hoeppner
2013-01-25 20:28 ` Chris Murphy
2013-01-25 20:43   ` Chris Murphy
2013-01-25 20:50     ` Chris Murphy
2013-01-26 23:40 ` Phil Turmel

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).